Well my friend thank you very much it works, for google home. The yamaha receiver don’t respond.
The google home respond perfectly, from mute to max and that’s pretty cool!
It will have been impossible without you and i want to thank you very much.
here is my log for the not solved yamaha error.
2018-01-19 18:07:50 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: Entity ID {% set room = trigger.entity_id.split(".")[1] | replace("_changed" is an invalid entity id for dictionary value @ data['action'][0]['entity_id']. Got None
expected a dictionary for dictionary value @ data['action'][0]['data_template']. Got None
extra keys not allowed @ data['action'][0]['value']. Got None. (See /config/configuration.yaml, line 241). Please check the docs at https://home-assistant.io/components/automation/
2018-01-19 18:07:57 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.
2018-01-19 18:08:00 WARNING (MainThread) [homeassistant.setup] Setup of media_player is taking over 10 seconds.
2018-01-19 18:08:00 WARNING (MainThread) [homeassistant.setup] Setup of switch is taking over 10 seconds.
2018-01-19 18:08:00 WARNING (MainThread) [homeassistant.setup] Setup of remote is taking over 10 seconds.
2018-01-19 18:08:00 WARNING (MainThread) [homeassistant.setup] Setup of device_tracker is taking over 10 seconds.
2018-01-19 18:08:09 WARNING (MainThread) [homeassistant.setup] Setup of tts is taking over 10 seconds.
2018-01-19 18:08:19 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform cast is taking over 10 seconds.
2018-01-19 18:08:28 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 182, in _step
result = coro.throw(exc)
File "/usr/src/app/homeassistant/setup.py", line 60, in async_setup_component
return (yield from task)
File "/usr/local/lib/python3.6/asyncio/futures.py", line 327, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
future.result()
File "/usr/local/lib/python3.6/asyncio/futures.py", line 243, in result
raise self._exception
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step
result = coro.send(None)
File "/usr/src/app/homeassistant/setup.py", line 144, in _async_setup_component
component = loader.get_component(domain)
File "/usr/src/app/homeassistant/loader.py", line 142, in get_component
module = importlib.import_module(path)
File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 674, in exec_module
File "<frozen importlib._bootstrap_external>", line 781, in get_code
File "<frozen importlib._bootstrap_external>", line 741, in source_to_code
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/config/custom_components/customizer/__init__.py", line 7
<!DOCTYPE html>
^
SyntaxError: invalid syntax
2018-01-19 18:48:07 ERROR (MainThread) [homeassistant.components.sensor.template] Could not render template yamaha_volume: UndefinedError: 'mappingproxy object' has no attribute 'volume_level'
2018-01-19 18:48:23 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
I keep reading the code and it’s exactly the same for both devices. Why is the receiver not receiving command?
Thanks again, you are amazing.