Skip to content

Instantly share code, notes, and snippets.

@jiristepan
Last active October 17, 2022 15:13
Show Gist options
  • Save jiristepan/1e179493f25b0488b21641b4228bca00 to your computer and use it in GitHub Desktop.
Save jiristepan/1e179493f25b0488b21641b4228bca00 to your computer and use it in GitHub Desktop.
- id: '1646558426XXX'
alias: 'Reed and Update Local Temp'
description: 'No description'
trigger:
- platform: time_pattern
minutes: /15
condition: []
action:
- service: number.set_value
target:
entity_id: number.hlaviceXYZ_local_temperature_calibration
data:
value: "{{ ((states("sensor.teplomerABC") | float) - (state_attr('climate.hlaviceZYX','current_temperature') | float)) | round(1) }}"
mode: single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment