node-homeassistant
node-homeassistant copied to clipboard
ha.call don't work?
I am trying this but I can't get boolean or input_text to update/turn on/off..
ha.call({
domain: 'input_boolean',
service: 'input_boolean.turn_off',
entity_id: 'input_boolean.testing'
})
EDIT: Sorry.. i figrured it out and it is working.
ha.call({
domain: 'light',
service: 'toggle',
service_data: {
entity_id: 'light.kitchen_1'
}
})