edit: Sorry, noob mistake in forgetting to switch branch for the docker image. Authentication works fine with the current RC image.
Can you let me know which merge so I can try to see when it ends up in a docker image? I’ve tried both the latest RC as well as latest Dev just now but no change.
First of all, thank you for a great effort, everyone working on the integration!
I am trying to use the Point to set a scene when the point is activated, ie we are leaving the apartment, but I don’t get the trigger to activate. Any idea what is wrong?
- id: A008
alias: Elvis has left the building
trigger:
- entity_id: alarm_control_panel.home
platform: state
from: disarm
action:
service: scene.turn_on
entity_id: scene.MyCustomScene
It is unfortunately not documented what “Silent Alarm” is. Once it is I’ll be happy to add that support to the integration. (Perhaps you can contact minut.com and see what they say).
EVENTS = {
'battery': # On means low, Off means normal
('battery_low', ''),
'button_press': # On means the button was pressed, Off means normal
('short_button_press', ''),
'cold': # On means cold, Off means normal
('temperature_low', 'temperature_risen_normal'),
'connectivity': # On means connected, Off means disconnected
('device_online', 'device_offline'),
'dry': # On means too dry, Off means normal
('humidity_low', 'humidity_risen_normal'),
'heat': # On means hot, Off means normal
('temperature_high', 'temperature_dropped_normal'),
'moisture': # On means wet, Off means dry
('humidity_high', 'humidity_dropped_normal'),
'sound': # On means sound detected, Off means no sound (clear)
('avg_sound_high', 'sound_level_dropped_normal'),
'tamper': # On means the point was removed or attached
('tamper', ''),
}
So it should be fairly easy to add more supported events.
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 216, in async_setup
hass, self
File "/usr/src/homeassistant/homeassistant/components/point/__init__.py", line 97, in async_setup_entry
await async_setup_webhook(hass, entry, session)
File "/usr/src/homeassistant/homeassistant/components/point/__init__.py", line 108, in async_setup_webhook
entry.data[CONF_WEBHOOK_ID] = hass.components.webhook.async_generate_id()
TypeError: 'mappingproxy' object does not support item assignment
Logginformation (ERROR)
Logger: homeassistant.config_entries
Source: components/point/__init__.py:78
First occurred: 21 mars 2020 11:35:56 (1 occurrences)
Last logged: 21 mars 2020 11:35:56
Error setting up entry [email protected] for point
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/requests_oauthlib/oauth2_session.py", line 478, in request
url, http_method=method, body=data, headers=headers
File "/usr/local/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 198, in add_token
raise TokenExpiredError()
oauthlib.oauth2.rfc6749.errors.TokenExpiredError: (token_expired)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 216, in async_setup
hass, self
File "/usr/src/homeassistant/homeassistant/components/point/__init__.py", line 97, in async_setup_entry
await async_setup_webhook(hass, entry, session)
File "/usr/src/homeassistant/homeassistant/components/point/__init__.py", line 118, in async_setup_webhook
["*"],
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/pypoint/__init__.py", line 151, in update_webhook
hooks = self._request(MINUT_WEBHOOKS_URL, request_type='GET')['hooks']
File "/usr/local/lib/python3.7/site-packages/pypoint/__init__.py", line 95, in _request
request_type, url, timeout=TIMEOUT.seconds, **params)
File "/usr/local/lib/python3.7/site-packages/requests_oauthlib/oauth2_session.py", line 503, in request
self.token_updater(token)
File "/usr/src/homeassistant/homeassistant/components/point/__init__.py", line 78, in token_saver
entry.data[CONF_TOKEN] = token
TypeError: 'mappingproxy' object does not support item assignment
I installed 0.107.0 and got this error. Rolled back to 0.106.6 and everything was working. I then updated to 0 107.1 and it was still working but after that it was broken again.
"point: the ‘.translations’ directory has been moved, the new name is ‘translations’, starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename "
now i have removed minut from integration (clean config, reboot, add to config, reboot) and can’t add it
Aborted Point successfully configured from another flow.
on log:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 216, in async_setup
hass, self
File "/config/custom_components/point/__init__.py", line 97, in async_setup_entry
await async_setup_webhook(hass, entry, session)
File "/config/custom_components/point/__init__.py", line 108, in async_setup_webhook
entry.data[CONF_WEBHOOK_ID] = hass.components.webhook.async_generate_id()
TypeError: 'mappingproxy' object does not support item assignmen