Sorry
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
| 2019-11-07 08:30:00 WARNING (MainThread) [homeassistant.components.light.reproduce_state] The use of other attributes than device state attributes is deprecated and will be removed in a future release. Read the logs for further details: https://www.home-assistant.io/integrations/scene/ 2019-11-07 08:30:00 ERROR (MainThread) [homeassistant.components.automation] Error while executing automation automation.woonkamer_off_overdag. Unknown error for call_service at pos 1: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 437, in action await script_obj.async_run(variables, context) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 190, in async_run await self._handle_action(action, variables, context) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 274, in _handle_action await self._actions[_determine_action(action)](action, variables, context) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 357, in _async_call_service context=context, File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 97, in async_call_from_config domain, service_name, service_data, blocking=blocking, context=context File "/usr/src/homeassistant/homeassistant/core.py", line 1236, in async_call await asyncio.shield(self._execute_service(handler, service_call)) File "/usr/src/homeassistant/homeassistant/core.py", line 1261, in _execute_service await handler.func(service_call) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service self._platforms.values(), func, call, service_name, required_features File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 348, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 370, in _handle_service_platform_call await getattr(entity, func)(**data) File "/usr/src/homeassistant/homeassistant/components/homeassistant/scene.py", line 171, in async_activate context=self._context, File "/usr/src/homeassistant/homeassistant/helpers/state.py", line 166, in async_reproduce_state *(worker(domain, data) for domain, data in to_call.items()) File "/usr/src/homeassistant/homeassistant/helpers/state.py", line 156, in worker hass, states_by_domain, context=context File "/usr/src/homeassistant/homeassistant/components/group/reproduce_state.py", line 29, in async_reproduce_states await async_reproduce_state(hass, states_copy, blocking=True, context=context) File "/usr/src/homeassistant/homeassistant/helpers/state.py", line 166, in async_reproduce_state *(worker(domain, data) for domain, data in to_call.items()) File "/usr/src/homeassistant/homeassistant/helpers/state.py", line 156, in worker hass, states_by_domain, context=context File "/usr/src/homeassistant/homeassistant/components/light/reproduce_state.py", line 124, in async_reproduce_states *(_async_reproduce_state(hass, state, context) for state in states) File "/usr/src/homeassistant/homeassistant/components/light/reproduce_state.py", line 115, in _async_reproduce_state DOMAIN, service, service_data, context=context, blocking=True File "/usr/src/homeassistant/homeassistant/core.py", line 1236, in async_call await asyncio.shield(self._execute_service(handler, service_call)) File "/usr/src/homeassistant/homeassistant/core.py", line 1261, in _execute_service await handler.func(service_call) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service self._platforms.values(), func, call, service_name, required_features File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 348, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 370, in _handle_service_platform_call await getattr(entity, func)(**data) File "/usr/src/homeassistant/homeassistant/components/hue/light.py", line 452, in async_turn_off await self.light.set_state(**command) File "/usr/local/lib/python3.7/site-packages/aiohue/lights.py", line 117, in set_state json=data) File "/usr/local/lib/python3.7/site-packages/aiohue/bridge.py", line 62, in request 'Invalid content type: {}'.format(res.content_type)) aiohue.errors.ResponseError: Invalid content type: text/html |
Do not argue with a fool. He will drag you down to his level and beat you with experience.