Home Assistant Community Store
GitHub API | ok
-- | --
GitHub Content | ok
GitHub Web | ok
HACS Data | ok
GitHub API Calls Remaining | 5000
Installed Version | 2.0.1
Stage | running
Available Repositories | 1460
Downloaded Repositories | 7
Home Assistant Cloud
logged_in | false
-- | --
can_reach_cert_server | ok
can_reach_cloud_auth | ok
can_reach_cloud | ok
Dashboards
dashboards | 2
-- | --
resources | 4
views | 1
mode | storage
Recorder
oldest_recorder_run | October 29, 2024 at 1:41 PM
-- | --
current_recorder_run | November 7, 2024 at 1:57 PM
estimated_db_size | 450.23 MiB
database_engine | sqlite
database_version | 3.40.1
Checklist
[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of any previous issues..
Describe the issue
По установке все сделал по инструкции, но девайса и сенсоров так не и появилось. Включение логирования, дебага ничего не показывало. В логах только одно сообщение от компонента
Narodmon Cloud Integration
Version: 2.2.1
This is a custom integration!
If you have ANY issues with this you need to open an issue here:
https://github.com/Limych/ha-narodmon/issues
Поэтому пришлось самостоятельно расставить дополнительные логи. В итоге не проходит условие if entry.source == SOURCE_IMPORT, потому что в моём случае entry.source является "user". Поменял во всех местах на if entry.source == "user" и интеграция заработала
Reproduction steps
Have HACS installed, this will allow you to easily manage and track updates.
Search for "Narodmon".
Click Install below the found integration.
Сonfigure component via configuration.yaml
Debug logs
2024-11-07 13:57:45.572 INFO (MainThread) [custom_components.narodmon]
-------------------------------------------------------------------
Narodmon Cloud Integration
Version: 2.2.1
This is a custom integration!
If you have ANY issues with this you need to open an issue here:
https://github.com/Limych/ha-narodmon/issues
-------------------------------------------------------------------
2024-11-07 13:57:45.572 INFO (MainThread) [custom_components.narodmon] entry: '<ConfigEntry entry_id=01JC2HX7D3ZKXC2GM99ZWSNGD1 version=1 domain=narodmon title=Home Assistant state=ConfigEntryState.SETUP_IN_PROGRESS unique_id=None>'
2024-11-07 13:57:45.578 INFO (MainThread) [custom_components.narodmon] entry.source: 'user'
2024-11-07 13:57:45.578 INFO (MainThread) [custom_components.narodmon] entry.data: '{}'
2024-11-07 13:57:45.579 INFO (MainThread) [custom_components.narodmon] YAML_DOMAIN: '_yaml_narodmon'
2024-11-07 13:57:45.579 INFO (MainThread) [custom_components.narodmon] New client
2024-11-07 13:57:45.579 INFO (MainThread) [custom_components.narodmon] Devices: [{'name': 'Narodmon', 'search_area_radius': 50.0, 'latitude': 43.295263, 'longitude': 76.937541, 'show_on_map': True, 'sensors': ['temperature', 'humidity', 'pressure'], 'scan_interval': datetime.timedelta(seconds=180)}]
2024-11-07 13:57:45.580 INFO (MainThread) [custom_components.narodmon] New coordinator for: {'name': 'Narodmon', 'search_area_radius': 50.0, 'latitude': 43.295263, 'longitude': 76.937541, 'show_on_map': True, 'sensors': ['temperature', 'humidity', 'pressure'], 'scan_interval': datetime.timedelta(seconds=180)}
2024-11-07 13:57:45.580 INFO (MainThread) [custom_components.narodmon] Init NarodmonDataUpdateCoordinator
2024-11-07 13:57:45.580 INFO (MainThread) [custom_components.narodmon] _async_update_data
2024-11-07 13:57:45.581 INFO (MainThread) [custom_components.narodmon] _async_update_data: {}
2024-11-07 13:57:45.581 INFO (MainThread) [custom_components.narodmon] tps: {1, 2, 3}
2024-11-07 13:57:46.230 INFO (MainThread) [custom_components.narodmon] coordinator.async_refreshed
2024-11-07 13:57:46.231 INFO (MainThread) [custom_components.narodmon] DOMAIN: narodmon
2024-11-07 13:57:46.231 INFO (MainThread) [custom_components.narodmon] hass.data[DOMAIN]: {'01JC2HX7D3ZKXC2GM99ZWSNGD1': {0: <custom_components.narodmon.NarodmonDataUpdateCoordinator object at 0xb4091a80>}}
2024-11-07 13:57:46.231 INFO (MainThread) [custom_components.narodmon] async_forward_entry_setups
2024-11-07 13:57:46.231 INFO (MainThread) [custom_components.narodmon] entry: <ConfigEntry entry_id=01JC2HX7D3ZKXC2GM99ZWSNGD1 version=1 domain=narodmon title=Home Assistant state=ConfigEntryState.SETUP_IN_PROGRESS unique_id=None>
2024-11-07 13:57:50.675 INFO (MainThread) [homeassistant.components.sensor] Setting up narodmon.sensor
2024-11-07 13:57:50.689 INFO (MainThread) [custom_components.narodmon] async_forward_entry_setups DONE
2024-11-07 13:57:50.690 INFO (MainThread) [custom_components.narodmon] add_update_listener
System Health details
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok HACS Data | ok GitHub API Calls Remaining | 5000 Installed Version | 2.0.1 Stage | running Available Repositories | 1460 Downloaded Repositories | 7Home Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okDashboards
dashboards | 2 -- | -- resources | 4 views | 1 mode | storageRecorder
oldest_recorder_run | October 29, 2024 at 1:41 PM -- | -- current_recorder_run | November 7, 2024 at 1:57 PM estimated_db_size | 450.23 MiB database_engine | sqlite database_version | 3.40.1Checklist
Describe the issue
По установке все сделал по инструкции, но девайса и сенсоров так не и появилось. Включение логирования, дебага ничего не показывало. В логах только одно сообщение от компонента
Narodmon Cloud Integration Version: 2.2.1 This is a custom integration! If you have ANY issues with this you need to open an issue here: https://github.com/Limych/ha-narodmon/issues
Поэтому пришлось самостоятельно расставить дополнительные логи. В итоге не проходит условие if entry.source == SOURCE_IMPORT, потому что в моём случае entry.source является "user". Поменял во всех местах на if entry.source == "user" и интеграция заработала
Reproduction steps
Debug logs
Diagnostics dump
No response