Hallo,
i am a newbie and doing my best, but i cant figure out the mistake i make.
I am using the Hassio Addon RPC for remote shutdown my Windows machine but still getting this error
required key not provided @ data['input']
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 121, in handle_call_service
connection.context(msg))
File "/usr/src/homeassistant/homeassistant/core.py", line 1130, in async_call
processed_data = handler.schema(service_data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 267, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 589, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 427, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: required key not provided @ data['input']
I already tried the net rpc shutdown through my linux machine with the prepared account for this purpose and its working like a charm.
I have the switch outsourced in the switch.yaml
- platform: wake_on_lan
mac_address: !secret robert_home_mac
name: robert-home
host: !secret robert_home_ip
turn_off:
service: hassio.addon_stdin
data:
addon: core_rpc_shutdown
input: robert-home
The Log in the RCP tab is empty as well.
I really hope someone can help me!