Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration stopped working in 2024.2.1 #1214

Open
remontti opened this issue Feb 11, 2024 · 1 comment
Open

Integration stopped working in 2024.2.1 #1214

remontti opened this issue Feb 11, 2024 · 1 comment

Comments

@remontti
Copy link
Contributor

remontti commented Feb 11, 2024

Home Assistant version
Core 2024.2.1
Supervisor 2024.01.1
Operating System 11.5
Front-end 20240207.1

SmartIR version
1.17.9

SmartIR configuration

configuration.yaml
smartir:

media_player:
  - platform: smartir
    name: TV OLED
    unique_id: tv_sala_oled
    device_code: 1042
    controller_data: remote.broadlinkcinema_remote
    power_sensor: media_player.tv_da_sala_4  
  - platform: smartir
    name: Monitor Escritorio
    unique_id: monitor_escritorio
    device_code: 1062
    controller_data: remote.rmc4proescritorio

climate:
  - platform: smartir
    name: "Climatizador"
    unique_id: climatizador
    device_code: 1360
    controller_data: remote.broadlinksuite_remote
    temperature_sensor: sensor.suite_temperatura
    humidity_sensor: sensor.suite_umidade
  - platform: smartir
    name: "Ar da Cozinha"
    unique_id: arcozinha
    device_code: 1702
    controller_data: remote.broadlinksala_remote
    temperature_sensor: sensor.temperatura_cozinha
    humidity_sensor: sensor.umidade_cozinha
  - platform: smartir
    name: "Ar da Sala"
    unique_id: arsala
    device_code: 1702
    controller_data: remote.broadlinkcinema_remote
    temperature_sensor: sensor.temperatura_cozinha
    humidity_sensor: sensor.umidade_cozinha
  - platform: smartir
    name: "Ar do Escritório"
    unique_id: arescritorio
    device_code: 1241
    controller_data: remote.rmc4proescritorio
    temperature_sensor: sensor.temperatura_cozinha
    humidity_sensor: sensor.umidade_cozinha

fan:
  - platform: smartir
    name:  Ventilação quarto
    unique_id: ar_do_aquirto
    device_code: 1999
    controller_data: remote.broadlinksuite_remote

Describe the bug
Integration stopped working.
Note: I already downloaded and reinstalled.
I've already restarted the device too. (ha host reboot)

Debug log

2024-02-11 17:17:27.479 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_OSCILLATE was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.OSCILLATE instead, please report it to the author of the 'smartir' custom integration
2024-02-11 17:17:40.980 WARNING (MainThread) [homeassistant.setup] Setup of smartir is taking over 10 seconds.
2024-02-11 17:18:33.420 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: smartir
2024-02-11 17:19:33.530 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: smartir
2024-02-11 17:20:33.613 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: smartir
2024-02-11 17:21:33.686 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: smartir
2024-02-11 17:22:24.228 ERROR (MainThread) [homeassistant.setup] Setup of 'smartir' is taking longer than 300 seconds. Startup will proceed without waiting any longer
2024-02-11 17:22:24.231 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'smartir.climate': Unable to set up component.
2024-02-11 17:22:24.232 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'smartir.climate': Unable to set up component.
2024-02-11 17:22:24.233 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'smartir.climate': Unable to set up component.
2024-02-11 17:22:24.233 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'smartir.climate': Unable to set up component.
2024-02-11 17:22:24.234 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'smartir.media_player': Unable to set up component.
2024-02-11 17:22:24.235 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'smartir.media_player': Unable to set up component.
2024-02-11 17:22:24.235 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'smartir.fan': Unable to set up component.
root@core-ssh:~/config/custom_components/smartir# tree | grep -v json
.
├── __init__.py
├── __pycache__
│   ├── __init__.cpython-312.pyc
│   ├── climate.cpython-312.pyc
│   ├── controller.cpython-312.pyc
│   ├── fan.cpython-312.pyc
│   └── media_player.cpython-312.pyc
├── climate.py
├── codes
│   ├── climate
│   ├── fan
│   └── media_player
├── controller.py
├── fan.py
├── media_player.py
└── services.yaml

Additional context

erro
erro2

@remontti
Copy link
Contributor Author

When commenting the line with "smartir:" the application started working again. Like this? 🤌🤌🤌
# smartir:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant