Hello world,
I am currently transitioning from FHEM to Home Assistant, making a good share of progress so far. However, I am running into a particular problem with an automation that is meant to toggle a switch based on the humidity value provided by a TX 29 DTH-IT sensor. While I may be familiar with home automation, I am rather new to Home Assistant.
What I did so far:
- Successfully integrated two sensors using the following in configuration.yaml (which is based on the integration description). Both sensors show up with 3 entities each under the LaCrosse integration providing reliable values, including humidity.
sensor:
- platform: lacrosse
device: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AI04NTON-if00-port0
baud: 57600
sensors:
waschkueche_lacrosse_humidity:
name: Waschküche Feuchtigkeit
type: humidity
id: 22
waschkueche_lacrosse_temperature:
name: Waschküche Temperatur
type: temperature
id: 22
waschkueche_lacrosse_battery:
name: Waschküche Sensor Batterie
type: battery
id: 22
herrenzimmer_lacrosse_humidity:
name: Herrenzimmer Feuchtigkeit
type: humidity
id: 28
herrenzimmer_lacrosse_temperature:
name: Herrenzimmer Temperatur
type: temperature
id: 28
herrenzimmer_lacrosse_battery:
name: Herrenzimmer Sensor Batterie
type: battery
id: 28
- Set up the following automation via the GUI. My expected result for the automation would be that once the humidity hits the value of 60% the switch is turned on and turned off via versa when it hits 55%.
id: '1740741754431'
alias: Feuchtigkeit Waschküche steuern
description: ''
triggers:
- trigger: numeric_state
entity_id:
- sensor.waschkueche_lacrosse_humidity
above: 60
id: Zu hoch
- trigger: numeric_state
entity_id:
- sensor.waschkueche_lacrosse_humidity
below: 55
id: Ausreichend trocken
conditions: []
actions:
- choose:
- conditions:
- condition: trigger
id:
- Zu hoch
sequence:
- type: turn_on
device_id: 37149536fb7a46b73b3a39625ad0cf17
entity_id: 7088c2bd2c0c11a9c674bd2f187d2f5a
domain: switch
- conditions:
- condition: trigger
id:
- Ausreichend trocken
sequence:
- type: turn_off
device_id: 37149536fb7a46b73b3a39625ad0cf17
entity_id: 7088c2bd2c0c11a9c674bd2f187d2f5a
domain: switch
mode: single
However, the automation never triggers, even with the actual humidity values being within the trigger ranges.
- I looked up the humidity entity under the developer tools because I thought that the percentage denomination might some sort a problem, but the humidity is solely presented as a value.
I’m not sure whether this is a problem related to the integration or related to my humble automation attempts in Home Assistant. Any suggestions are highly appreciated.
Heko