marthoc / homeseer

HomeSeer Custom Integration for Home Assistant
MIT License
29 stars 12 forks source link

Sending variables with homeseer.control_device_by_value service? #29

Open steinis123 opened 3 years ago

steinis123 commented 3 years ago

Is there possible to send status of a HA device with this command? I get an error when trying to send a number.

"Failed to call service homeseer/control_device_by_value. required key not provided @ data['value']"

image

marthoc commented 3 years ago

There is a typo in that service description - you can actually only send an integer. If you put that template into the Developer Tools - Template template editor, what value is returned? The error message suggests that it is returning an empty value.

marthoc commented 3 years ago

@steinis123 It occurs to be that your template may be rendering a float instead of int?