kongo09 / philips-airpurifier-coap

💨 Philips AirPurifier custom component for Home Assistant. Supports local CoAP protocol.
172 stars 27 forks source link

automation issue #94

Closed newstartech closed 10 months ago

newstartech commented 10 months ago

I got AC2939/70 and lt connects the HA successfully and manual turn on/off works ok. when I tried an automation. And test running finds error of "not a valid value for dicitorary value@data [entity id] got none" for turn on/turn off/toggle command. paste script below type: turn_on device_id: 317fdfb4069d73288b59c49f23da3619 entity_id: 9623eac97c2a1c50b372ad065cdbac8a domain: fan

I noticed in manual trun of/on. it has fan low/medium/high option. but not seen at script

newstartech commented 10 months ago

problem solved. after research the document. In action section, I should select call service not device. In call service. useing fan.preset mode to start the device. and fan.fan_off to turn off.