Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105777

Cant find the sensor device for sensor.dryer_run_state

$
0
0

To give some context:
I have made bad design decision in the secondary suit in my house, and cheapened out on wiring separate 4" exhaust pipe from bathroom - instead I hooked it up in a T to the dryer, and then venting… lol

So, cheapest solution now, is to get a smart switch to turn on the powerful vent I have installed there whenever the dryer is on.

I have installed HomeAsstistant on my NAS (UnraidOS), installed HACS, installed GitHub - ollo69/ha-smartthinq-sensors: HomeAssistant custom integration for SmartThinQ LG devices

And created automation

which, in the logbook, once I turned off the dryer manually (testing…) it creates an even which has automation config which looks like this:

id: '1742328165816'
alias: Test Dryer Trigger
description: ''
triggers:
  - type: changed_states
    device_id: 6bd4f17e4a5afc9f11e3d918e58e57b1
    entity_id: 3757a06f56325811edcb67d4a6df0db6
    domain: switch
    trigger: device
conditions: []
actions:
  - action: notify.notify
    metadata: {}
    data:
      title: Dryer toggled
mode: single

However I also see something like this in the same log book:


Which interestingly, has the entity sensor.dryer_run_state

Ideally, I’d create a config that triggers on sensor.dryer_run_state == 'Drying' AND sensor.switch_bathroom_fan != 'On' then turn on switch
Same rule, when its out of ‘Drying’ state (or turned off, to cover edge cases), turn the switch off.

However I dont exactly see an easy way to do this on the visual editor, nor the sensor state to select:

How do I create the yaml sequence manually?

Also, any suggestions on a smart switch for the fan in the bathroom, that will also allow to turn on manually when the user needs to? Preferably one with humidity sensor built in as a fallback just in case the dryer state is not detected properly :slight_smile:

PS: I also did NOT receive the notify action from the event anywhere - on the HA alerts, or my phone (I allowed notifications) - this is just to do a POC that it works properly without being glued to the logbook

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 105777

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>