Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

Sending variables with homeseer.control_device_by_value service? #29

Open
steinis123 opened this issue Feb 12, 2021 · 2 comments
Open
Labels
bug Something isn't working

Comments

@steinis123
Copy link

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
Copy link
Owner

marthoc commented Feb 12, 2021

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 marthoc added the bug Something isn't working label Feb 22, 2021
@marthoc
Copy link
Owner

marthoc commented Feb 24, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants