Giter VIP home page Giter VIP logo

ha-narodmon's People

Contributors

antonverburg avatar ctso avatar dependabot[bot] avatar eifinger avatar eseglem avatar github-actions[bot] avatar iantrich avatar jcgoette avatar limych avatar linushoppe avatar ludeeus avatar matthewflamm avatar mattrayner avatar misa1515 avatar mjmeli avatar myztillx avatar oncleben31 avatar raman325 avatar rianoc avatar rodpayne avatar rroller avatar salem84 avatar scop avatar scottg489 avatar swartjean avatar tefinger avatar tetienne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ha-narodmon's Issues

No sensor data is present from some of the sensors

Environment

  • Home Assistant Core release with the issue: core-2021.11.3
  • This custom component release with the issue: 1.1.5
  • Last working this custom component release (if known):
  • Operating environment (Home Assistant/Supervisor/Docker/venv): Supervisor / HA OS

Describe the bug

Some sensors work and provide data, and some don't. Tried rebooting the system, updating everything, reinstalling Narodmon component, reissuing the API key from Narodmon.

Screenshot 2022-02-15 at 16 11 27

Screenshot 2022-02-15 at 16 13 11

Configuration.yaml

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

narodmon:
  apikey: #############
  devices:
    - name: "Narodmon"
        
input_select:
  # Xiaomi Air Purifier 2S
  xiaomi_airpurifier_mode:
    name: Mode
    options:
      - Auto
      - Silent
      - Favorite
    icon: "mdi:animation-outline"
    
logger:
  default: info
  logs:
    hacs: debug
    custom_components.hacs: debug
    queueman: debug
    aiogithubapi: debug
    custom_component.narodmon: debug
    
frontend:
  themes: !include_dir_merge_named themes

Steps to Reproduce

Install Narodmon component, try to read the data from sensors

Expected behavior

Sensors data is present

Debug log

home-assistant.log

Additional context

Добавить возможность более 1 локации

Сейчас добавить можно только 1 интеграцию для 1 координат. Прошу добавить возможность получения координат более 1 точки (в ХА два дома территориально расположенных)

[FR] Задание радиуса зоны поиска

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

Возможно ли задать параметр, определяющий радус зоны поиска?
Пример: я живу в Кукуево, интеграция предлагает данные датчика из Гадюкино - но меня интересует именно Кукуево.
Понятно, что если в Кукуево датчика нет - будет unavailable.

Describe the solution you'd like

Параметр типа search_area_radius

Describe alternatives you've considered

никаких

Additional context

none

Добавление ескольких датчиков

Здравствуйте!
Подскажите имеется ли возможность добавить сразу несколько датчиков в округе?
Я люблю народный мониторинг за то что можно просматривать температуру в разных районах города. Очень удобно когда на сайте или в приложении ты видишь сразу несколько датчиков температуры. А вот как можно добавить несколько датчиков температуры в HA. По умолчанию добавляется только один датчик температуры, который находиться ближе всего к моему местоположению...
Может как вариант можно было бы указать количество ближайших добавляемых датчиков?

"deprecated constant" warnings in Log

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

Это не FR, а сообщение о баге.

2024.5
Записи в Логе:

2024-05-04 01:40:03.107 WARNING (ImportExecutor_0) [homeassistant.const] DEVICE_CLASS_HUMIDITY was used from narodmon, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.HUMIDITY instead, please report it to the author of the 'narodmon' custom integration
2024-05-04 01:40:03.108 WARNING (ImportExecutor_0) [homeassistant.const] DEVICE_CLASS_ILLUMINANCE was used from narodmon, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.ILLUMINANCE instead, please report it to the author of the 'narodmon' custom integration
2024-05-04 01:40:03.109 WARNING (ImportExecutor_0) [homeassistant.const] DEVICE_CLASS_PRESSURE was used from narodmon, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.PRESSURE instead, please report it to the author of the 'narodmon' custom integration
2024-05-04 01:40:03.110 WARNING (ImportExecutor_0) [homeassistant.const] DEVICE_CLASS_TEMPERATURE was used from narodmon, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.TEMPERATURE instead, please report it to the author of the 'narodmon' custom integration
2024-05-04 01:40:03.111 WARNING (ImportExecutor_0) [homeassistant.const] LENGTH_MILLIMETERS was used from narodmon, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfLength.MILLIMETERS instead, please report it to the author of the 'narodmon' custom integration
2024-05-04 01:40:03.112 WARNING (ImportExecutor_0) [homeassistant.const] PRESSURE_MMHG was used from narodmon, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPressure.MMHG instead, please report it to the author of the 'narodmon' custom integration
2024-05-04 01:40:03.115 WARNING (ImportExecutor_0) [homeassistant.const] SPEED_METERS_PER_SECOND was used from narodmon, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfSpeed.METERS_PER_SECOND instead, please report it to the author of the 'narodmon' custom integration
2024-05-04 01:40:03.116 WARNING (ImportExecutor_0) [homeassistant.const] TEMP_CELSIUS was used from narodmon, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'narodmon' custom integration

Describe the solution you'd like

no warnings

Describe alternatives you've considered

none

Additional context

none

Component error. Cannot setup on 2021.12

Environment

  • Home Assistant Core release with the issue: 2021.12.1
  • This custom component release with the issue: 1.1.1
  • Last working this custom component release (if known): 1.1.1
  • Operating environment (Home Assistant/Supervisor/Docker/venv): Home Assistant Supervised

Describe the bug

The integration cannot setup on HA startup. There is an error in the log:
Error occurred loading configuration flow for integration narodmon: cannot import name 'HTTP_OK' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)

Configuration.yaml

Add your configs here if any.
narodmon:
  apikey: !secret narodmon_apikey
  devices:
    - name: "Narodmon"

Steps to Reproduce

Upgrade HA to 2021.12

Expected behavior

The integration is loaded on HA startup.

Debug log


Add your logs here.

Additional context

Units of measurment are absent after update to 1.1.4

Environment

-Home Assistant Core release with the issue: 2021.12.8
-This custom component release with the issue: 1.1.4
-Last working this custom component release (if known): 1.1.3
-Operating environment (Home Assistant/Supervisor/Docker/venv): Supervisor

Describe the bug

Configuration.yaml

Steps to Reproduce

Expected behavior

Debug log


Add your logs here.

Additional context

Screenshot Знімок екрана 2022-02-11 о 12 25 43

Электроэнергия

У меня есть датчики: напряжения, тока, мощности, энергии. Возможно их вывести в вашей интеграции?

Ошибка при добавлении датчика и перезапуске HA

Environment

  • Home Assistant Core release with the issue: core-2021.5.5
  • This custom component release with the issue: 2.0.2
  • Last working this custom component release (if known): -
  • Operating environment (Home Assistant/Supervisor/Docker/venv): Supervisor

Describe the bug
После скачивания компонента из HACS и ребута ХА, добавил в конфиг датчик, но HA ругается при перезагрузке:

image

Configuration.yaml

Add your configs here if any.

Steps to Reproduce

Expected behavior

Debug log


Add your logs here.

Additional context

Ошибки

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

Поставил с нуля.
Конфиг почти дефолтный
narodmon:
devices:
- name: "Narodmon"
sensors:
- illuminance
- radiation
- uv

При перезапуске

2024-03-01 19:54:07.481 ERROR (MainThread) [custom_components.narodmon] [429] Too frequent location update.
2024-03-01 19:54:07.482 ERROR (MainThread) [custom_components.narodmon] Error fetching narodmon data:
2024-03-01 19:54:17.707 ERROR (MainThread) [custom_components.narodmon] [429] Too frequent location update.
2024-03-01 19:54:17.707 ERROR (MainThread) [custom_components.narodmon] Error fetching narodmon data:
{'routeros': {'name': 'routeros', 'enabled': True}}
2024-03-01 19:54:37.931 ERROR (MainThread) [custom_components.narodmon]
2024-03-01 19:54:37.932 ERROR (MainThread) [custom_components.narodmon] Error fetching narodmon data:

Describe the solution you'd like

Чтобы работало

Describe alternatives you've considered

Нет

Additional context

Нет

Ошибка при рестарте интеграции

System Health details

Регистратор: homeassistant.config_entries
Источник: config_entries.py:772
Первое сообщение: 09:34:54 (1 сообщений)
Последнее сообщение: 09:34:54

Error unloading entry Home Assistant for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 772, in async_unload
result = await component.async_unload_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 140, in async_unload_entry
return await component.async_unload_entry(entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 203, in async_unload_entry
raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

При рестарте интеграции в журнал HA (Core 2024.5.3) падает ошибка, сенсоры не добавляются. Хотелось бы узнать что не так?
configuration.yaml:
narodmon:
devices:
- name: "Narodmon"
search_area_radius: 20
latitude: 61.78
longitude: 50.74

Reproduction steps

  1. Установка интеграции
  2. Прописал в конфиг
  3. Рестарт HA
  4. Рестарт интеграции

Debug logs

.

Diagnostics dump

No response

периодически отваливается плагин, помогает рестарт HA

Environment

  • Home Assistant Core release with the issue: Home Assistant 2022.10.1
  • This custom component release with the issue: "version": "2.0.3",
  • Last working this custom component release (if known):
  • Operating environment (Home Assistant/Supervisor/Docker/venv): Docker

Describe the bug

за две недели отвалился пару раз плагин, показывает Unknown, помогает рестарт HA

Configuration.yaml

narodmon:
  verify_ssl: false
  devices:
    - name: "Narodmon"
      latitude: 55.661311
      longitude: 38.139066
      sensors:
        - temperature
        - pressure

Steps to Reproduce

Expected behavior

Debug log

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 334, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
  File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"
2023-05-19 23:22:14.038 ERROR (MainThread) [custom_components.narodmon] Error fetching information from https://narodmon.com/api - Cannot connect to host narodmon.com:443 ssl:default [Connect call failed ('185.245.187.136', 443)]
2023-05-20 01:36:37.179 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 334, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
  File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"
2023-05-20 11:40:44.619 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 334, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
  File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadHttpMessage: 400, message='Pause on PRI/Upgrade'
2023-05-20 13:25:19.010 ERROR (MainThread) [custom_components.narodmon] Error fetching information from https://narodmon.com/api - Cannot connect to host narodmon.com:443 ssl:default [Try again]
2023-05-20 14:20:07.639 ERROR (MainThread) [homeassistant.components.homeassistant_alerts] Timeout fetching homeassistant_alerts data
2023-05-20 18:30:51.153 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 334, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
  File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"
2023-05-20 23:16:24.009 ERROR (MainThread) [custom_components.narodmon] Error fetching information from https://narodmon.com/api - Cannot connect to host narodmon.com:443 ssl:default [Try again]
2023-05-21 08:53:56.950 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 334, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
  File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"
2023-05-21 15:01:24.079 ERROR (MainThread) [custom_components.narodmon] Error fetching narodmon data:
2023-05-21 18:44:06.873 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 334, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
  File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"
2023-05-21 23:25:29.014 ERROR (MainThread) [custom_components.narodmon] Error fetching information from https://narodmon.com/api - Cannot connect to host narodmon.com:443 ssl:default [Try again]
2023-05-22 01:25:29.128 ERROR (MainThread) [custom_components.narodmon] Error fetching narodmon data:
2023-05-22 16:14:16.648 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 334, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
  File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"
2023-05-22 19:15:27.469 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 334, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
  File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadHttpMessage: 400, message='Pause on PRI/Upgrade'
2023-05-22 23:22:33.047 ERROR (MainThread) [custom_components.narodmon] Error fetching information from https://narodmon.com/api - Cannot connect to host narodmon.com:443 ssl:default [Connect call failed ('185.245.187.136', 443)]
2023-05-23 10:34:33.103 ERROR (MainThread) [custom_components.narodmon] Error fetching narodmon data:
2023-05-23 11:20:17.640 ERROR (MainThread) [homeassistant.components.homeassistant_alerts] Timeout fetching homeassistant_alerts data
2023-05-23 23:16:33.222 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 334, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
  File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"
2023-05-23 23:22:42.070 ERROR (MainThread) [custom_components.narodmon] Error fetching information from https://narodmon.com/api - Cannot connect to host narodmon.com:443 ssl:default [Connect call failed ('185.245.187.136', 443)]
^C


Additional context

Screenshot 2023-05-24 104605

Screenshot 2023-05-24 104523

Неправильно определяется местоположение

Supervisor 2023.11.1

На минимальную конфигурацию сервис присылает ответ с городом, который определяется по IP, а не по адресу в HA.
Даже если передаю в конфигурации координаты - ответ не меняется

narodmon:
  verify_ssl: false
  devices:
    - name: "Home"
      latitude: ##
      longitude: ##
      scan_interval: "00:30"
      sensors:
        - temperature
        - humidity
        - pressure
        - uv
        - pm
2023-11-12 16:07:44.701 DEBUG (MainThread) [custom_components.narodmon] Request: '{'cmd': 'appInit', 'version': '2.0.3', 'platform': '2023.10', 'uuid': 'a23fd71b9d064facb1fd83fcab9757cd'}'
2023-11-12 16:07:44.896 DEBUG (MainThread) [custom_components.narodmon] Response: '{"login":"","vip":0,"uid":0,"lat":47.2361,"lon":39.7189,"addr":"Rostov-on-Don, Rostov Region, Russia","url":null,"latest":null,"favorites":[],"types":[{"type":1,"name":"t air","unit":"°"},{"type":24,"name":"t water","unit":"°"},{"type":25,"name":"t soil","unit":"°"},{"type":21,"name":"t точка роси","unit":"°"},{"type":2,"name":"RH humidity","unit":"%"},{"type":3,"name":"atm.pressure","unit":"mmHg"},{"type":11,"name":"luminosity","unit":"Lx"},{"type":20,"name":"UV Index","unit":""},{"type":12,"name":"radiation","unit":"µR/h"},{"type":9,"name":"rainfall","unit":"mm"},{"type":22,"name":"dustiness","unit":"µg/m3"},{"type":4,"name":"speed","unit":"m/s"},{"type":5,"name":"direction","unit":"°"},{"type":15,"name":"concentration","unit":"ppm"},{"type":6,"name":"P power","unit":"W"},{"type":13,"name":"U voltage","unit":"V"},{"type":14,"name":"I current","unit":"A"},{"type":8,"name":"A energy","unit":"KWh"},{"type":19,"name":"% battery","unit":"%"},{"type":7,"name":"Rx,Tx traffic","unit":"Kbps"},{"type":10,"name":"logical","unit":""},{"type":16,"name":"dBm signal","unit":"dBm"},{"type":17,"name":"water meter","unit":"m3"},{"type":18,"name":"uptime","unit":"s"},{"type":255,"name":"numeric","unit":""},{"type":23,"name":"text type","unit":""}],"timestamp":1699794464}'

Не стартует ha-narodmon 2.0.1

Environment

  • Home Assistant Core release with the issue: 2022.4.0
  • This custom component release with the issue: 2.0.1
  • Last working this custom component release (if known):
  • Operating environment (Home Assistant/Supervisor/Docker/venv): Docker | 20.10.12

Describe the bug

Logger: homeassistant.components.hassio
Source: components/hassio/init.py:663
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 09:26:00 (2 occurrences)
Last logged: 09:26:06

The system cannot restart because the configuration is not valid: Component error: narodmon - cannot import name 'T' from 'homeassistant.helpers.update_coordinator' (/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py)

Configuration.yaml

configuration.yaml
narodmon: !include includes/custom/narodmon.yaml

narodmon.yaml
  apikey: myverysecretapikey
  devices:
    - name: Narodmon
      latitude: !secret latitude_coord
      longitude: !secret longitude_coord 
      scan_interval: '00:05'
      sensors:
        - temperature
        - humidity
        - pressure
        - precipitation
        - wind_speed
        - wind_bearing

Ошибки при > 1 локации

System Health details

System Information

version core-2024.5.3
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 5.10.0-16-amd64
arch x86_64
timezone Europe/Moscow
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 5000
Installed Version 1.34.0
Stage running
Available Repositories 1414
Downloaded Repositories 54
HACS Data ok
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth pending
can_reach_cloud ok
Dashboards
dashboards 16
resources 39
views 465
mode storage
Recorder
oldest_recorder_run May 5, 2024 at 01:14
current_recorder_run May 15, 2024 at 03:48
estimated_db_size 550.33 MiB
database_engine sqlite
database_version 3.44.2

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

Выбрал две локации с несколькими показателями:

изображение

изображение

Код:

narodmon:
  timeout: 120
  verify_ssl: false
  devices:

    - name: Narodmon 1
      latitude: 55.899418
      longitude: 37.619291
      sensors:
        - temperature
        - humidity
        - pressure

    - name: Narodmon 2
      latitude: 55.906041
      longitude: 37.551907
      sensors:
        - temperature
        - pressure

Ошибки при старте HA:
2024-05-15 03:49:25.134 ERROR (MainThread) [custom_components.narodmon] Error fetching information from https://narodmon.com/api - Cannot connect to host narodmon.com:443 ssl:default [None]
2024-05-15 03:49:25.135 ERROR (MainThread) [custom_components.narodmon] Error fetching narodmon data:
2024-05-15 03:53:47.153 ERROR (MainThread) [custom_components.narodmon] Error fetching narodmon data:

Результат:

изображение

Иногда удается получить значения, но в большинстве случаев данные unavailable.

Reproduction steps

см. выше

Debug logs

см. выше

Diagnostics dump

No response

2024.7 warning

System Health details

System Information

version core-2024.7.1
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 5.10.0-16-amd64
arch x86_64
timezone Europe/Moscow
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content pending
GitHub Web ok
GitHub API Calls Remaining 5000
Installed Version 1.34.0
Stage running
Available Repositories 1406
Downloaded Repositories 54
HACS Data ok
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth pending
can_reach_cloud ok
Dashboards
dashboards 16
resources 39
views 472
mode storage
Recorder
oldest_recorder_run June 24, 2024 at 19:12
current_recorder_run July 10, 2024 at 00:55
estimated_db_size 856.60 MiB
database_engine sqlite
database_version 3.45.3

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

2024-07-10 00:59:10.548 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'narodmon' calls async_forward_entry_setup for integration, narodmon with title: configuration.yaml and entry_id: b2fd1e3bc6cc0ad19a7b2dbfb63925ac, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/narodmon/init.py, line 159: await hass.async_create_task(, please create a bug report at https://github.com/Limych/ha-narodmon/issues

  • I have NOT enabled debug logging for my installation.

Reproduction steps

see above

Debug logs

see above

Diagnostics dump

No response

Возможность считывания приватных(своих датчиков)

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Добрый день. Есть у вас в планах добавление возможности считывания показаний своих приватных датчиков(не только погодных, но имеющих значение(вольты) или реле вкл.выкл.
Очень бы хотелось это видеть в будущих реализациях.

Ошибка при добавлении датчика и перезапуске HA

Environment

  • Home Assistant Core release with the issue: core-2022.5.0
  • This custom component release with the issue: 2.0.1
  • Last working this custom component release (if known):
  • Operating environment (Home Assistant/Supervisor/Docker/venv): Supervisor

Describe the bug

После скачивания компонента из HACS и ребута ХА, добавил в конфиг датчик, но HA ругается при перезагрузке:
image

Configuration.yaml

Add your configs here if any.

image

Steps to Reproduce

Expected behavior

Debug log


Add your logs here.

Additional context

Detected that custom integration 'narodmon' calls `async_add_job`, which is deprecated

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

After updating Home Assistant to version 2024.4.x I get a warning in the log

Detected that custom integration 'narodmon' calls async_add_job, which is deprecated and will be removed in Home Assistant 2025.4; Please review https://developers.home-assistant.io/blog/2024/03/13/deprecate_add_run_job for replacement options at custom_components/narodmon/__init__.py, line 153: hass.async_add_job(hass.config_entries.async_forward_entry_setup(entry, SENSOR)), please create a bug report at https://github.com/Limych/ha-narodmon/issues

Describe the solution you'd like

Remove the warning in the log

Describe alternatives you've considered

I didn't consider it

Additional context

Detected that custom integration 'narodmon' calls async_add_job, which is deprecated and will be removed in Home Assistant 2025.4; Please review https://developers.home-assistant.io/blog/2024/03/13/deprecate_add_run_job for replacement options at custom_components/narodmon/__init__.py, line 153: hass.async_add_job(hass.config_entries.async_forward_entry_setup(entry, SENSOR)), please create a bug report at https://github.com/Limych/ha-narodmon/issues

публикация значения датчиков Т на улице и атмосферного давления

Здравствуйте.
Подскажите пожалуйста. Я ранее использовал сервер умного дома MajorDomo - публиковал в narodmon значения уличного датчика температуры и давления. Сейчас использую Home assistant. Не могу разобраться, возможно ли с установленной интеграцией narodmon публиковать значения датчиков Т на улице и атмосферного давления?

благодарю

Образцы конфигов

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Not start in HA 2022.4.1

Good afternoon. Can't run integration. Installed using HACS, there is a directory with contents along the path
/config/custom_components/narodmon

When I add to the configuration:
narodmon:
devices:

  • name: "Narodmon"
    sensors:
  • temperature
  • pressure
    I get an error:
    Component error: narodmon - No module named 'custom_components.narodmon.api'

Оно вообще должно работать сейчас?

Can't see neither entities sensor.narodmon* nor any information in HA logs

image

Environment

  • Home Assistant Core release with the issue:
    Home Assistant 2022.10.1
    Frontend 20221006.0 - latest
  • This custom component release with the issue:
    "version": "2.0.2",
  • Last working this custom component release (if known):
  • Operating environment (Home Assistant/Supervisor/Docker/venv):
    HA in Docker
    HACS (Home Assistant Community Store)
    Version: 1.27.2

Describe the bug

Configuration.yaml

narodmon:
  verify_ssl: false
  devices:
    - name: "Narodmon"
      latitude: 55.661311
      longitude: 38.139066

logger:
  default: info
  logs:
    custom_component.narodmon: debug

Steps to Reproduce

Expected behavior

Debug log


Attaching to homeassistant
homeassistant    | s6-rc: info: service s6rc-oneshot-runner: starting
homeassistant    | s6-rc: info: service s6rc-oneshot-runner successfully started
homeassistant    | s6-rc: info: service fix-attrs: starting
homeassistant    | s6-rc: info: service fix-attrs successfully started
homeassistant    | s6-rc: info: service legacy-cont-init: starting
homeassistant    | s6-rc: info: service legacy-cont-init successfully started
homeassistant    | s6-rc: info: service legacy-services: starting
homeassistant    | services-up: info: copying legacy longrun home-assistant (no readiness notification)
homeassistant    | s6-rc: info: service legacy-services successfully started
homeassistant    | 2022-11-30 03:56:01.843 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
homeassistant    | 2022-11-30 03:56:01.844 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration narodmon which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
homeassistant    | 2022-11-30 03:56:01.912 INFO (MainThread) [homeassistant.setup] Setup of domain logger took 0.0 seconds
homeassistant    | 2022-11-30 03:56:01.915 INFO (MainThread) [homeassistant.setup] Setting up system_log
homeassistant    | 2022-11-30 03:56:01.916 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.0 seconds
homeassistant    | 2022-11-30 03:56:01.916 INFO (MainThread) [homeassistant.bootstrap] Setting up frontend: {'frontend'}
homeassistant    | 2022-11-30 03:56:01.923 INFO (MainThread) [homeassistant.setup] Setting up device_automation
homeassistant    | 2022-11-30 03:56:01.924 INFO (MainThread) [homeassistant.setup] Setup of domain device_automation took 0.0 seconds
homeassistant    | 2022-11-30 03:56:01.961 INFO (MainThread) [homeassistant.setup] Setting up lovelace
homeassistant    | 2022-11-30 03:56:01.963 INFO (MainThread) [homeassistant.setup] Setting up http
homeassistant    | 2022-11-30 03:56:01.967 INFO (MainThread) [homeassistant.setup] Setup of domain lovelace took 0.0 seconds
homeassistant    | 2022-11-30 03:56:01.981 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds
homeassistant    | 2022-11-30 03:56:01.986 INFO (MainThread) [homeassistant.setup] Setting up api
homeassistant    | 2022-11-30 03:56:01.988 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds
homeassistant    | 2022-11-30 03:56:01.988 INFO (MainThread) [homeassistant.setup] Setting up auth
homeassistant    | 2022-11-30 03:56:01.990 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.0 seconds
homeassistant    | 2022-11-30 03:56:01.993 INFO (MainThread) [homeassistant.setup] Setting up config
homeassistant    | 2022-11-30 03:56:01.998 INFO (MainThread) [homeassistant.setup] Setting up diagnostics
homeassistant    | 2022-11-30 03:56:02.001 INFO (MainThread) [homeassistant.setup] Setting up file_upload
homeassistant    | 2022-11-30 03:56:02.002 INFO (MainThread) [homeassistant.setup] Setup of domain file_upload took 0.0 seconds
homeassistant    | 2022-11-30 03:56:02.038 INFO (MainThread) [homeassistant.setup] Setting up repairs
homeassistant    | 2022-11-30 03:56:02.039 INFO (MainThread) [homeassistant.setup] Setup of domain repairs took 0.0 seconds
homeassistant    | 2022-11-30 03:56:02.039 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
homeassistant    | 2022-11-30 03:56:02.040 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds
homeassistant    | 2022-11-30 03:56:02.113 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.1 seconds
homeassistant    | 2022-11-30 03:56:02.114 INFO (MainThread) [homeassistant.setup] Setup of domain diagnostics took 0.1 seconds
homeassistant    | 2022-11-30 03:56:02.134 INFO (MainThread) [homeassistant.setup] Setting up image
homeassistant    | 2022-11-30 03:56:02.141 INFO (SyncWorker_4) [homeassistant.loader] Loaded group from homeassistant.components.group
homeassistant    | 2022-11-30 03:56:02.625 INFO (MainThread) [homeassistant.setup] Setting up analytics
homeassistant    | 2022-11-30 03:56:02.643 INFO (MainThread) [homeassistant.setup] Setup of domain image took 0.5 seconds
homeassistant    | 2022-11-30 03:56:02.710 INFO (MainThread) [homeassistant.setup] Setting up search
homeassistant    | 2022-11-30 03:56:02.711 INFO (MainThread) [homeassistant.setup] Setup of domain search took 0.0 seconds
homeassistant    | 2022-11-30 03:56:02.712 INFO (MainThread) [homeassistant.setup] Setup of domain analytics took 0.1 seconds
homeassistant    | 2022-11-30 03:56:02.714 INFO (SyncWorker_3) [homeassistant.loader] Loaded device_tracker from homeassistant.components.device_tracker
homeassistant    | 2022-11-30 03:56:02.716 INFO (MainThread) [homeassistant.setup] Setting up person
homeassistant    | 2022-11-30 03:56:02.721 INFO (MainThread) [homeassistant.setup] Setup of domain person took 0.0 seconds
homeassistant    | 2022-11-30 03:56:02.723 INFO (SyncWorker_3) [homeassistant.loader] Loaded hassio from homeassistant.components.hassio
homeassistant    | 2022-11-30 03:56:02.724 INFO (SyncWorker_4) [homeassistant.loader] Loaded panel_custom from homeassistant.components.panel_custom
homeassistant    | 2022-11-30 03:56:02.728 INFO (MainThread) [homeassistant.setup] Setting up onboarding
homeassistant    | 2022-11-30 03:56:02.730 INFO (MainThread) [homeassistant.setup] Setup of domain onboarding took 0.0 seconds
homeassistant    | 2022-11-30 03:56:02.731 INFO (MainThread) [homeassistant.setup] Setting up frontend
homeassistant    | 2022-11-30 03:56:02.737 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.0 seconds
homeassistant    | 2022-11-30 03:56:02.738 INFO (MainThread) [homeassistant.bootstrap] Setting up recorder: {'recorder'}
homeassistant    | 2022-11-30 03:56:02.740 INFO (MainThread) [homeassistant.setup] Setting up recorder
homeassistant    | 2022-11-30 03:56:02.770 INFO (MainThread) [homeassistant.components.http] Now listening on port 8123
homeassistant    | 2022-11-30 03:56:02.832 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.1 seconds
homeassistant    | 2022-11-30 03:56:02.833 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 1: {'ssdp', 'webhook', 'usb', 'dhcp', 'network', 'bluetooth', 'api', 'websocket_api', 'zeroconf', 'cloud', 'http'}
homeassistant    | 2022-11-30 03:56:02.838 INFO (MainThread) [homeassistant.setup] Setting up webhook
homeassistant    | 2022-11-30 03:56:02.840 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.0 seconds
homeassistant    | 2022-11-30 03:56:02.868 INFO (MainThread) [homeassistant.setup] Setting up usb
homeassistant    | 2022-11-30 03:56:02.869 INFO (MainThread) [homeassistant.setup] Setup of domain usb took 0.0 seconds
homeassistant    | 2022-11-30 03:56:02.918 INFO (MainThread) [homeassistant.setup] Setting up dhcp
homeassistant    | 2022-11-30 03:56:02.918 INFO (MainThread) [homeassistant.setup] Setup of domain dhcp took 0.0 seconds
homeassistant    | 2022-11-30 03:56:02.924 INFO (MainThread) [homeassistant.setup] Setting up network
homeassistant    | 2022-11-30 03:56:02.926 INFO (MainThread) [homeassistant.setup] Setup of domain network took 0.0 seconds
homeassistant    | 2022-11-30 03:56:02.940 INFO (SyncWorker_1) [homeassistant.loader] Loaded google_assistant from homeassistant.components.google_assistant
homeassistant    | 2022-11-30 03:56:02.940 INFO (SyncWorker_3) [homeassistant.loader] Loaded alexa from homeassistant.components.alexa
homeassistant    | 2022-11-30 03:56:03.000 INFO (MainThread) [homeassistant.setup] Setting up bluetooth
homeassistant    | 2022-11-30 03:56:03.005 INFO (MainThread) [homeassistant.setup] Setup of domain bluetooth took 0.0 seconds
homeassistant    | 2022-11-30 03:56:03.010 INFO (SyncWorker_4) [homeassistant.loader] Loaded camera from homeassistant.components.camera
homeassistant    | 2022-11-30 03:56:03.071 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
homeassistant    | 2022-11-30 03:56:03.093 INFO (MainThread) [homeassistant.setup] Setting up ssdp
homeassistant    | 2022-11-30 03:56:03.093 INFO (MainThread) [homeassistant.setup] Setup of domain ssdp took 0.0 seconds
homeassistant    | 2022-11-30 03:56:03.094 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 0.0 seconds
homeassistant    | 2022-11-30 03:56:03.099 INFO (SyncWorker_3) [homeassistant.loader] Loaded media_player from homeassistant.components.media_player
homeassistant    | 2022-11-30 03:56:03.504 INFO (MainThread) [homeassistant.setup] Setting up cloud
homeassistant    | 2022-11-30 03:56:03.531 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.0 seconds
homeassistant    | 2022-11-30 03:56:03.534 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'sun', 'input_text', 'narodmon', 'hardware', 'mobile_app', 'image', 'timer', 'history', 'person', 'tts', 'config', 'diagnostics', 'file_upload', 'automation', 'script', 'onboarding', 'auth', 'map', 'analytics', 'radio_browser', 'homeassistant_alerts', 'system_health', 'persistent_notification', 'trace', 'scene', 'generic', 'repairs', 'blueprint', 'input_boolean', 'input_select', 'logbook', 'energy', 'input_number', 'lovelace', 'input_button', 'esphome', 'schedule', 'counter', 'default_config', 'device_automation', 'tag', 'media_source', 'zone', 'input_datetime', 'hacs', 'upnp', 'application_credentials', 'search', 'my'}
homeassistant    | 2022-11-30 03:56:03.538 INFO (MainThread) [homeassistant.setup] Setting up sun
homeassistant    | 2022-11-30 03:56:03.538 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.0 seconds
homeassistant    | 2022-11-30 03:56:03.543 INFO (MainThread) [homeassistant.setup] Setting up input_text
homeassistant    | 2022-11-30 03:56:03.549 INFO (MainThread) [homeassistant.setup] Setting up narodmon
homeassistant    | 2022-11-30 03:56:03.550 INFO (MainThread) [homeassistant.setup] Setup of domain narodmon took 0.0 seconds
homeassistant    | 2022-11-30 03:56:03.554 INFO (MainThread) [homeassistant.setup] Setting up timer
homeassistant    | 2022-11-30 03:56:03.561 INFO (MainThread) [homeassistant.setup] Setting up history
homeassistant    | 2022-11-30 03:56:03.562 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds
homeassistant    | 2022-11-30 03:56:03.569 INFO (MainThread) [homeassistant.setup] Setting up homeassistant_alerts
homeassistant    | 2022-11-30 03:56:03.569 INFO (MainThread) [homeassistant.setup] Setup of domain homeassistant_alerts took 0.0 seconds
homeassistant    | 2022-11-30 03:56:03.570 INFO (MainThread) [homeassistant.setup] Setting up trace
homeassistant    | 2022-11-30 03:56:03.571 INFO (MainThread) [homeassistant.setup] Setup of domain trace took 0.0 seconds
homeassistant    | 2022-11-30 03:56:03.573 INFO (MainThread) [homeassistant.setup] Setting up scene
homeassistant    | 2022-11-30 03:56:03.574 INFO (MainThread) [homeassistant.components.scene] Setting up scene.homeassistant
homeassistant    | 2022-11-30 03:56:03.575 INFO (MainThread) [homeassistant.setup] Setting up blueprint
homeassistant    | 2022-11-30 03:56:03.575 INFO (MainThread) [homeassistant.setup] Setup of domain blueprint took 0.0 seconds
homeassistant    | 2022-11-30 03:56:03.576 INFO (MainThread) [homeassistant.setup] Setting up input_boolean
homeassistant    | 2022-11-30 03:56:03.579 INFO (MainThread) [homeassistant.setup] Setting up input_select
homeassistant    | 2022-11-30 03:56:03.581 INFO (MainThread) [homeassistant.setup] Setting up input_number
homeassistant    | 2022-11-30 03:56:03.583 INFO (MainThread) [homeassistant.setup] Setting up input_button
homeassistant    | 2022-11-30 03:56:03.590 INFO (MainThread) [homeassistant.setup] Setting up schedule
homeassistant    | 2022-11-30 03:56:03.594 INFO (MainThread) [homeassistant.setup] Setting up counter
homeassistant    | 2022-11-30 03:56:03.601 INFO (MainThread) [homeassistant.setup] Setting up tag
homeassistant    | 2022-11-30 03:56:03.602 INFO (MainThread) [homeassistant.setup] Setting up zone
homeassistant    | 2022-11-30 03:56:03.605 INFO (MainThread) [homeassistant.setup] Setting up input_datetime
homeassistant    | 2022-11-30 03:56:03.623 INFO (MainThread) [homeassistant.setup] Setting up hardware
homeassistant    | 2022-11-30 03:56:03.631 INFO (MainThread) [homeassistant.setup] Setting up map
homeassistant    | 2022-11-30 03:56:03.632 INFO (MainThread) [homeassistant.setup] Setup of domain map took 0.0 seconds
homeassistant    | 2022-11-30 03:56:03.635 INFO (MainThread) [homeassistant.setup] Setting up system_health
homeassistant    | 2022-11-30 03:56:03.645 INFO (MainThread) [homeassistant.setup] Setup of domain scene took 0.1 seconds
homeassistant    | 2022-11-30 03:56:03.684 INFO (MainThread) [homeassistant.setup] Setting up logbook
homeassistant    | 2022-11-30 03:56:03.687 INFO (MainThread) [homeassistant.setup] Setting up energy
homeassistant    | 2022-11-30 03:56:03.687 INFO (MainThread) [homeassistant.setup] Setup of domain energy took 0.0 seconds
homeassistant    | 2022-11-30 03:56:03.696 INFO (MainThread) [homeassistant.setup] Setting up media_source
homeassistant    | 2022-11-30 03:56:03.705 INFO (MainThread) [homeassistant.setup] Setting up application_credentials
homeassistant    | 2022-11-30 03:56:03.707 INFO (MainThread) [homeassistant.setup] Setting up my
homeassistant    | 2022-11-30 03:56:03.708 INFO (MainThread) [homeassistant.setup] Setup of domain my took 0.0 seconds
homeassistant    | 2022-11-30 03:56:03.720 INFO (MainThread) [homeassistant.setup] Setting up automation
homeassistant    | 2022-11-30 03:56:03.721 INFO (MainThread) [homeassistant.setup] Setting up script
homeassistant    | 2022-11-30 03:56:03.732 INFO (MainThread) [homeassistant.setup] Setup of domain tag took 0.1 seconds
homeassistant    | 2022-11-30 03:56:03.734 INFO (MainThread) [custom_components.narodmon]
homeassistant    | -------------------------------------------------------------------
homeassistant    | Narodmon Cloud Integration
homeassistant    | Version: 2.0.2
homeassistant    | This is a custom integration!
homeassistant    | If you have ANY issues with this you need to open an issue here:
homeassistant    | https://github.com/Limych/ha-narodmon/issues
homeassistant    | -------------------------------------------------------------------
homeassistant    |
homeassistant    | 2022-11-30 03:56:03.738 INFO (MainThread) [homeassistant.setup] Setup of domain hardware took 0.1 seconds
homeassistant    | 2022-11-30 03:56:03.742 INFO (SyncWorker_1) [homeassistant.loader] Loaded sensor from homeassistant.components.sensor
homeassistant    | 2022-11-30 03:56:03.748 INFO (MainThread) [homeassistant.setup] Setup of domain system_health took 0.1 seconds
homeassistant    | 2022-11-30 03:56:03.750 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.1 seconds
homeassistant    | 2022-11-30 03:56:03.752 INFO (MainThread) [homeassistant.setup] Setup of domain media_source took 0.1 seconds
homeassistant    | 2022-11-30 03:56:03.759 INFO (MainThread) [homeassistant.setup] Setup of domain timer took 0.2 seconds
homeassistant    | 2022-11-30 03:56:03.765 INFO (MainThread) [homeassistant.setup] Setup of domain counter took 0.2 seconds
homeassistant    | 2022-11-30 03:56:03.789 INFO (SyncWorker_3) [homeassistant.loader] Loaded google_translate from homeassistant.components.google_translate
homeassistant    | 2022-11-30 03:56:03.850 INFO (MainThread) [homeassistant.setup] Setting up radio_browser
homeassistant    | 2022-11-30 03:56:03.850 INFO (MainThread) [homeassistant.setup] Setup of domain radio_browser took 0.0 seconds
homeassistant    | 2022-11-30 03:56:03.858 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.1 seconds
homeassistant    | 2022-11-30 03:56:03.861 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.1 seconds
homeassistant    | 2022-11-30 03:56:03.865 INFO (MainThread) [homeassistant.setup] Setup of domain input_text took 0.3 seconds
homeassistant    | 2022-11-30 03:56:03.868 INFO (MainThread) [homeassistant.setup] Setup of domain input_boolean took 0.3 seconds
homeassistant    | 2022-11-30 03:56:03.870 INFO (MainThread) [homeassistant.setup] Setup of domain input_select took 0.3 seconds
homeassistant    | 2022-11-30 03:56:03.872 INFO (MainThread) [homeassistant.setup] Setup of domain input_number took 0.3 seconds
homeassistant    | 2022-11-30 03:56:03.873 INFO (MainThread) [homeassistant.setup] Setup of domain application_credentials took 0.2 seconds
homeassistant    | 2022-11-30 03:56:03.874 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 0.3 seconds
homeassistant    | 2022-11-30 03:56:03.875 INFO (MainThread) [homeassistant.setup] Setting up sensor
homeassistant    | 2022-11-30 03:56:03.876 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.0 seconds
homeassistant    | 2022-11-30 03:56:03.879 INFO (MainThread) [homeassistant.setup] Setting up generic
homeassistant    | 2022-11-30 03:56:03.879 INFO (MainThread) [homeassistant.setup] Setup of domain generic took 0.0 seconds
homeassistant    | 2022-11-30 03:56:04.078 INFO (MainThread) [homeassistant.setup] Setup of domain input_button took 0.5 seconds
homeassistant    | 2022-11-30 03:56:04.079 INFO (MainThread) [homeassistant.setup] Setup of domain input_datetime took 0.5 seconds
homeassistant    | 2022-11-30 03:56:04.081 INFO (MainThread) [homeassistant.setup] Setup of domain schedule took 0.5 seconds
homeassistant    | 2022-11-30 03:56:04.089 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.energy
homeassistant    | 2022-11-30 03:56:04.090 INFO (MainThread) [homeassistant.setup] Setting up camera
homeassistant    | 2022-11-30 03:56:04.196 INFO (MainThread) [homeassistant.setup] Setting up hacs
homeassistant    | 2022-11-30 03:56:04.196 INFO (MainThread) [homeassistant.setup] Setup of domain hacs took 0.0 seconds
homeassistant    | 2022-11-30 03:56:04.203 INFO (MainThread) [homeassistant.setup] Setup of domain camera took 0.1 seconds
homeassistant    | 2022-11-30 03:56:04.208 INFO (MainThread) [custom_components.hacs]
homeassistant    | -------------------------------------------------------------------
homeassistant    | HACS (Home Assistant Community Store)
homeassistant    |
homeassistant    | Version: 1.27.2
homeassistant    | This is a custom integration
homeassistant    | If you have any issues with this you need to open an issue here:
homeassistant    | https://github.com/hacs/integration/issues
homeassistant    | -------------------------------------------------------------------
homeassistant    |
homeassistant    | 2022-11-30 03:56:04.305 INFO (MainThread) [homeassistant.setup] Setting up upnp
homeassistant    | 2022-11-30 03:56:04.305 INFO (MainThread) [homeassistant.setup] Setup of domain upnp took 0.0 seconds
homeassistant    | 2022-11-30 03:56:04.307 INFO (MainThread) [homeassistant.components.camera] Setting up camera.generic
homeassistant    | 2022-11-30 03:56:04.315 INFO (SyncWorker_0) [homeassistant.loader] Loaded notify from homeassistant.components.notify
homeassistant    | 2022-11-30 03:56:04.334 INFO (MainThread) [homeassistant.setup] Setting up mobile_app
homeassistant    | 2022-11-30 03:56:04.581 INFO (MainThread) [homeassistant.setup] Setting up esphome
homeassistant    | 2022-11-30 03:56:04.581 INFO (MainThread) [homeassistant.setup] Setup of domain esphome took 0.0 seconds
homeassistant    | 2022-11-30 03:56:04.596 INFO (MainThread) [homeassistant.setup] Setting up tts
homeassistant    | 2022-11-30 03:56:04.600 INFO (MainThread) [homeassistant.setup] Setup of domain mobile_app took 0.3 seconds
homeassistant    | 2022-11-30 03:56:04.604 INFO (MainThread) [homeassistant.setup] Setting up notify
homeassistant    | 2022-11-30 03:56:04.605 INFO (MainThread) [homeassistant.setup] Setup of domain notify took 0.0 seconds
homeassistant    | 2022-11-30 03:56:04.619 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.esphome
homeassistant    | 2022-11-30 03:56:04.619 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.esphome
homeassistant    | 2022-11-30 03:56:04.619 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.esphome
homeassistant    | 2022-11-30 03:56:04.625 INFO (SyncWorker_2) [homeassistant.loader] Loaded number from homeassistant.components.number
homeassistant    | 2022-11-30 03:56:04.625 INFO (SyncWorker_1) [homeassistant.loader] Loaded switch from homeassistant.components.switch
homeassistant    | 2022-11-30 03:56:04.626 INFO (SyncWorker_3) [homeassistant.loader] Loaded binary_sensor from homeassistant.components.binary_sensor
homeassistant    | 2022-11-30 03:56:04.627 INFO (MainThread) [homeassistant.components.notify] Setting up notify.mobile_app
homeassistant    | 2022-11-30 03:56:04.690 INFO (MainThread) [homeassistant.setup] Setting up default_config
homeassistant    | 2022-11-30 03:56:04.696 INFO (MainThread) [homeassistant.setup] Setting up number
homeassistant    | 2022-11-30 03:56:04.697 INFO (MainThread) [homeassistant.setup] Setup of domain number took 0.0 seconds
homeassistant    | 2022-11-30 03:56:04.699 INFO (MainThread) [homeassistant.setup] Setting up binary_sensor
homeassistant    | 2022-11-30 03:56:04.700 INFO (MainThread) [homeassistant.setup] Setup of domain binary_sensor took 0.0 seconds
homeassistant    | 2022-11-30 03:56:04.723 INFO (SyncWorker_4) [homeassistant.loader] Loaded backup from homeassistant.components.backup
homeassistant    | 2022-11-30 03:56:04.725 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.1 seconds
homeassistant    | 2022-11-30 03:56:04.728 INFO (SyncWorker_3) [homeassistant.loader] Loaded switch_as_x from homeassistant.components.switch_as_x
homeassistant    | 2022-11-30 03:56:04.730 INFO (MainThread) [homeassistant.components.number] Setting up number.esphome
homeassistant    | 2022-11-30 03:56:04.731 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.esphome
homeassistant    | 2022-11-30 03:56:04.732 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.esphome
homeassistant    | 2022-11-30 03:56:04.741 INFO (MainThread) [custom_components.hacs] <HacsData restore> Restore started
homeassistant    | 2022-11-30 03:56:04.813 INFO (MainThread) [homeassistant.setup] Setting up switch
homeassistant    | 2022-11-30 03:56:04.814 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.0 seconds
homeassistant    | 2022-11-30 03:56:04.948 INFO (MainThread) [custom_components.hacs] <HacsData restore> Restore done
homeassistant    | 2022-11-30 03:56:04.959 INFO (MainThread) [homeassistant.setup] Setting up backup
homeassistant    | 2022-11-30 03:56:04.959 INFO (MainThread) [homeassistant.setup] Setup of domain backup took 0.0 seconds
homeassistant    | 2022-11-30 03:56:04.961 INFO (MainThread) [homeassistant.components.switch] Setting up switch.esphome
homeassistant    | 2022-11-30 03:56:04.962 INFO (MainThread) [homeassistant.components.switch] Setting up switch.esphome
homeassistant    | 2022-11-30 03:56:04.962 INFO (MainThread) [homeassistant.components.switch] Setting up switch.esphome
homeassistant    | 2022-11-30 03:56:04.970 INFO (SyncWorker_5) [homeassistant.loader] Loaded stream from homeassistant.components.stream
homeassistant    | 2022-11-30 03:56:04.986 INFO (MainThread) [homeassistant.setup] Setting up stream
homeassistant    | 2022-11-30 03:56:04.991 INFO (MainThread) [homeassistant.setup] Setup of domain stream took 0.0 seconds
homeassistant    | 2022-11-30 03:56:04.992 INFO (MainThread) [homeassistant.setup] Setup of domain default_config took 0.3 seconds
homeassistant    | 2022-11-30 03:56:04.992 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully connected to 2ndfloor @ 192.168.1.28
homeassistant    | 2022-11-30 03:56:05.050 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully connected to esp32 @ 192.168.1.29
homeassistant    | 2022-11-30 03:56:05.062 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully connected to gates @ 192.168.1.8
homeassistant    | 2022-11-30 03:56:05.067 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully connected to relayboard @ 192.168.1.37
homeassistant    | 2022-11-30 03:56:05.235 INFO (MainThread) [custom_components.hacs] Enable category: integration
homeassistant    | 2022-11-30 03:56:05.237 INFO (MainThread) [custom_components.hacs] Enable category: plugin
homeassistant    | 2022-11-30 03:56:05.237 INFO (MainThread) [custom_components.hacs] Enable category: theme
homeassistant    | 2022-11-30 03:56:05.241 INFO (MainThread) [custom_components.hacs] <HacsFrontend> LovelaceMode.STORAGE mode, cache for /hacsfiles/: True
homeassistant    | 2022-11-30 03:56:05.246 INFO (MainThread) [custom_components.hacs] Stage changed: HacsStage.SETUP
homeassistant    | 2022-11-30 03:56:05.249 INFO (MainThread) [custom_components.hacs] Stage changed: HacsStage.WAITING
homeassistant    | 2022-11-30 03:56:05.249 INFO (MainThread) [custom_components.hacs] Setup complete, waiting for Home Assistant before startup tasks starts
homeassistant    | 2022-11-30 03:56:05.253 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.hacs
homeassistant    | 2022-11-30 03:56:14.318 WARNING (MainThread) [homeassistant.config_entries] Config entry 'UPNP IGD' for upnp integration not ready yet: Device not discovered: uuid:20809696-105a-3721-e8b8-5078b3866c6c::urn:schemas-upnp-org:device:InternetGatewayDevice:1; Retrying in background
homeassistant    | 2022-11-30 03:56:14.327 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 12.49s
homeassistant    | 2022-11-30 03:56:14.328 INFO (MainThread) [homeassistant.core] Starting Home Assistant
homeassistant    | 2022-11-30 03:56:14.334 INFO (MainThread) [custom_components.hacs] Stage changed: HacsStage.STARTUP
homeassistant    | 2022-11-30 03:56:14.400 INFO (MainThread) [homeassistant.components.zeroconf] Starting Zeroconf broadcast
homeassistant    | 2022-11-30 03:56:14.405 INFO (MainThread) [custom_components.hacs] Loading removed repositories
homeassistant    | 2022-11-30 03:56:14.683 INFO (MainThread) [custom_components.hacs] Loading known repositories
homeassistant    | 2022-11-30 03:56:15.210 INFO (MainThread) [custom_components.hacs] Starting recurring background task for downloaded repositories
homeassistant    | 2022-11-30 03:56:15.211 INFO (MainThread) [custom_components.hacs] Stage changed: HacsStage.RUNNING
homeassistant    | 2022-11-30 03:56:34.621 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.upnp
homeassistant    | 2022-11-30 03:56:34.625 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.upnp


Additional context

Integration doesn't work after 1.1.2 update

Environment

  • Home Assistant Core release with the issue: 2021.12.8
  • This custom component release with the issue: 1.1.2
  • Last working this custom component release (if known):
  • Operating environment (Home Assistant/Supervisor/Docker/venv): Supervisor

Describe the bug
Hi! At version 1.1.1 I had make a fix manually from pull request to make it work. At version 1.1.2, seems, that pull request was accepted, but integration doesn't work. I had enabled debug logging for it, and I can see in logs, that it received data for sensors correctly from api, but all my narodmon sensors have status "unknown" and don't shoe any data...

Configuration.yaml

Add your configs here if any.

Steps to Reproduce

Expected behavior

Debug log


Add your logs here.

Additional context

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.