Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ha.call don't work? #10

Open
sebastianstretch opened this issue Jan 22, 2021 · 0 comments
Open

ha.call don't work? #10

sebastianstretch opened this issue Jan 22, 2021 · 0 comments

Comments

@sebastianstretch
Copy link

sebastianstretch commented Jan 22, 2021

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'
        }
      })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant