cyberjunky / home-assistant-custom-components

My custom components for Home Assistant
MIT License
71 stars 19 forks source link

Toon with Google Assistant #13

Closed joostvanmourik closed 5 years ago

joostvanmourik commented 5 years ago

Should it be possible to use Toon with the Google Assistant. If i ask OK Google whats the temperature. It says the current temperature but also says toon is Off

There is no way to activate it. And if i like to change te temperature it seems not to recognize the command.

Any idea ?

michel130 commented 5 years ago

Hello, When I check the scrip, what I see it is already in:

STATE_AUTO: 'Comfort',
STATE_HEAT: 'Home',
STATE_COOL: 'Sleep',
STATE_ECO: 'Away',
STATE_MANUAL: "Manual"

The only difference is STATE_AWAY it calls in the script STATE_COOL Maybe @cyberjunky can checked this with new home assistant 0.85

joostvanmourik commented 5 years ago

On the new 0.86 only manual temperature doesn't work

joostvanmourik commented 5 years ago

@cyberjunky Any progress on the Google Assistant Intergration ?

joostvanmourik commented 5 years ago

@cyberjunky : Trying your new version, but get this in the log, proberly me but what am i doing wrong here ?

raceback (most recent call last): File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 124, in _async_setup_platform task = async_create_setup_task() File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 89, in async_create_setup_task None, platform.setup_platform, hass, platform_config, AttributeError: module 'homeassistant.components.toon.climate' has no attribute 'setup_platform'

just updated /custom_components/toon/climate.py

cyberjunky commented 5 years ago

You also need to copy the file called __init__.py into the toon directory.

joostvanmourik commented 5 years ago

You also need to copy the file called __init__.py into the toon directory.

But should i use the init.py version of the normal toon component because in the folder toon_google the file seems emtpy

joostvanmourik commented 5 years ago

the both seems to be empty or am i doing it wrong ?

cyberjunky commented 5 years ago

Yes it's an empty file, that's correct.

joostvanmourik commented 5 years ago

Yes it's an empty file, that's correct.

Again it was me :-) thanx for the help,

Samma3ll commented 5 years ago

Been fighting with it today. and noticed that you need to have program on. and then you can set the temperature manually with google home. when you have program off google can’t interact with toon.

dont know if this was known.

cyberjunky commented 5 years ago

Can you test latest toon_climate code? A lot have been changed for climate components.