Hi all,
I’m having trouble with this automation, I have many automation configured and somehow when I manually trigger the reload of ‘Xiaomi Miio’ or ‘Xiaomi Gateway 3’ Integration, basically reload the gateway integration, some of the automation will auto trigger itself, below is one of the examples.
I am running out of idea what could be the root cause, please enlighten me If you have the solution, thanks!
This is the code I configured.
alias: Kitchen_Temperature Sensor - Below 32°C - Exhaust Fan Off
description: ""
trigger:
- type: temperature
platform: device
device_id: c183c245192668cc0898c5be02ccea77
entity_id: sensor.0x00158d0001199959_temperature
domain: sensor
below: 32
condition:
- condition: numeric_state
entity_id: sensor.0x00158d0001199959_temperature
below: 32
action:
- type: turn_off
device_id: f92eb9540ab9c3bebc82efa66a535d22
entity_id: switch.0x00158d000153b15b_channel_1
domain: switch
mode: single
This is the ‘Change Variables’ I copied and pasted from ‘Traces’
this:
entity_id: automation.kitchen_temperature_sensor_below_32degc_exhaust_fan_off
state: 'on'
attributes:
last_triggered: '2022-09-19T16:03:58.560984+00:00'
mode: single
current: 0
id: '1634490711067'
friendly_name: Kitchen_Temperature Sensor - Below 32°C - Exhaust Fan Off
last_changed: '2022-09-19T16:01:15.015996+00:00'
last_updated: '2022-09-19T16:03:58.568623+00:00'
context:
id: 01GDB7VWZ0K5P1WTXP6PRAY17T
parent_id: 01GDB7VWYDJTDY234SXWXJBBWE
user_id: null
trigger:
id: '0'
idx: '0'
alias: null
platform: device
entity_id: sensor.0x00158d0001199959_temperature
below: 32
above: null
from_state:
entity_id: sensor.0x00158d0001199959_temperature
state: unavailable
attributes:
restored: true
state_class: measurement
device_class: temperature
friendly_name: Kitchen Thermometer Sensor Temperature
supported_features: 0
unit_of_measurement: °C
last_changed: '2022-09-19T16:05:32.982250+00:00'
last_updated: '2022-09-19T16:05:32.982250+00:00'
context:
id: 01GDB7YS5P1Y3FJGHYESRSK9AX
parent_id: null
user_id: null
to_state:
entity_id: sensor.0x00158d0001199959_temperature
state: '30.78'
attributes:
state_class: measurement
native_value: 30.78
unit_of_measurement: °C
device_class: temperature
friendly_name: Kitchen Thermometer Sensor Temperature
last_changed: '2022-09-19T16:05:33.556502+00:00'
last_updated: '2022-09-19T16:05:33.556502+00:00'
context:
id: 01GDB7YSQM0G31N6ATNYCD2AER
parent_id: null
user_id: null
for: null
description: numeric state of sensor.0x00158d0001199959_temperature
1 post - 1 participant