linuxserver / docker-homeassistant

GNU General Public License v3.0
193 stars 32 forks source link

[BUG] Bluetooth Device gets not recognized #99

Closed 0Styless closed 4 months ago

0Styless commented 5 months ago

Is there an existing issue for this?

Current Behavior

Bluetooth Device is not found by Home-Assistant. From inside container:

root@5b282e95a6ca:/# hcitool dev
Devices:

From outside / host:

hcitool dev
Devices:
hci0 38:CA:73:09:29:D3

Expected Behavior

Home-Asssistant detects Bluetooth-Devices.

Steps To Reproduce

Deploy the provided Docker-Compose yaml on a node with built-in Bluetooth-Device or one with a dongle and try to configure / access it with Home-Assistant.

Environment

- OS: Ubuntu 22.04
- Docker: 25.0.1
- Image: linuxserver/homeassistant:2024.02.1
- How docker service was installed: Docker-Compose

CPU architecture

arm64

Docker creation

---
version: "3.8"

services:
  home-assistant:
    image: linuxserver/homeassistant:2024.2.1
    pull_policy: if_not_present
    restart: on-failure:5
    container_name: home-assistant
    networks:
      - web
      - nginx-proxy-manager_reverse-proxy
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
      - /var/run/dbus:/var/run/dbus:ro
      - config:/config
    devices:
      - /dev/ttyACM0
    cap_add:
      - NET_ADMIN
      - NET_RAW
    environment:
      TZ: "Europe/Berlin"
      PUID: 30001
      PGID: 30001
    configs:
      - source: configuration
        target: /config/configuration.yaml

volumes:
    config:

networks:
  web:
    driver: bridge
    ipam:
      config:
        - subnet: 172.28.6.0/24
  nginx-proxy-manager_reverse-proxy:
    external: true

### Container logs

```bash
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

██╗     ███████╗██╗ ██████╗
██║     ██╔════╝██║██╔═══██╗
██║     ███████╗██║██║   ██║
██║     ╚════██║██║██║   ██║
███████╗███████║██║╚██████╔╝
╚══════╝╚══════╝╚═╝ ╚═════╝

Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    911
User GID:    911
───────────────────────────────────────

Setting permissions
**** adding /dev/ttyACM0 to USB group dialout with id 20 ****
[custom-init] No custom files found, skipping...
2024-02-18 23:43:47.502 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration localtuya 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
2024-02-18 23:43:47.503 WARNING (SyncWorker_4) [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
2024-02-18 23:43:47.506 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration dwd_pollenflug 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
2024-02-18 23:43:47.507 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration waste_collection_schedule 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
2024-02-18 23:43:47.509 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration better_thermostat which has not been tested by Home Assistant. This component might causestability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-18 23:43:47.510 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration midea_ac_lan 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
2024-02-18 23:43:47.512 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration auto_backup 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
2024-02-18 23:43:47.512 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration alarmo 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
2024-02-18 23:43:47.514 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration powercalc 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
Connection to localhost (127.0.0.1) 8123 port [tcp/*] succeeded!
[ls.io-init] done.
2024-02-18 23:44:05.685 ERROR (MainThread) [homeassistant.setup] Error during setup of component bluetooth
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/homeassistant/setup.py", line 333, in _async_setup_component
result = await task
^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/homeassistant/components/bluetooth/__init__.py", line 152, in async_setup
await manager.async_setup()
File "/usr/local/lib/python3.12/site-packages/homeassistant/components/bluetooth/manager.py", line 132, in async_setup
await super().async_setup()
File "src/habluetooth/manager.py", line 217, in async_setup
File "/usr/local/lib/python3.12/site-packages/bluetooth_adapters/systems/linux.py", line 36, in refresh
await self._bluez.load()
File "/usr/local/lib/python3.12/site-packages/bluetooth_adapters/dbus.py", line 39, in load
self._packed_managed_objects = await _get_dbus_managed_objects()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/bluetooth_adapters/dbus.py", line 103, in _get_dbus_managed_objects
bus = await MessageBus(bus_type=BusType.SYSTEM).connect()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dbus_fast/aio/message_bus.py", line 225, in connect
await self._authenticate()
File "/usr/local/lib/python3.12/site-packages/dbus_fast/aio/message_bus.py", line 492, in _authenticate
response = self._auth._receive_line(await self._auth_readline())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dbus_fast/auth.py", line 99, in _receive_line
raise AuthError(f"authentication failed: {response.value}: {args}")
dbus_fast.errors.AuthError: authentication failed: REJECTED: ['EXTERNAL']
2024-02-18 23:44:05.752 WARNING (MainThread) [homeassistant.const] TIME_DAYS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.DAYS instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:05.758 WARNING (MainThread) [homeassistant.const] TIME_HOURS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.HOURS instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:05.764 WARNING (MainThread) [homeassistant.const] TIME_MINUTES was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.MINUTES instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:05.770 WARNING (MainThread) [homeassistant.const] TIME_SECONDS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.SECONDS instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:05.777 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:05.783 WARNING (MainThread) [homeassistant.const] POWER_WATT was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:05.789 WARNING (MainThread) [homeassistant.const] VOLUME_LITERS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolume.LITERS instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:05.795 WARNING (MainThread) [homeassistant.const] ENERGY_KILO_WATT_HOUR was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:08.848 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_HEAT was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.HEATING instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.854 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_IDLE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.IDLE instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.860 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_AUTO was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.866 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.873 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.879 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_PRESET_MODE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.885 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from localtuya, this is a deprecated constant which will be removedin HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.891 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE_RANGE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE_RANGE instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.897 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.903 WARNING (MainThread) [homeassistant.const] TEMP_FAHRENHEIT was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.FAHRENHEIT instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.911 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_CLOSE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.CLOSE instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.917 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_OPEN was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.OPEN instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.923 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_SET_POSITION was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.SET_POSITION instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.930 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_STOP was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.STOP instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.936 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_CLOSE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.CLOSE instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.942 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_OPEN was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.OPEN instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.949 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_SET_POSITION was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.SET_POSITION instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.955 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_STOP was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.STOP instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.964 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_DIRECTION was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1.Use FanEntityFeature.DIRECTION instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.970 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_OSCILLATE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1.Use FanEntityFeature.OSCILLATE instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.977 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_SET_SPEED was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1.Use FanEntityFeature.SET_SPEED instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.983 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_DIRECTION was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1.Use FanEntityFeature.DIRECTION instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.989 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_OSCILLATE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1.Use FanEntityFeature.OSCILLATE instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:08.996 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_SET_SPEED was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1.Use FanEntityFeature.SET_SPEED instead, please create a bug report at https://github.com/rospogrigio/localtuya/issues
2024-02-18 23:44:14.455 WARNING (MainThread) [homeassistant.components.climate] HVAC_MODE_AUTO was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.462 WARNING (MainThread) [homeassistant.components.climate] HVAC_MODE_COOL was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.COOL instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.470 WARNING (MainThread) [homeassistant.components.climate] HVAC_MODE_DRY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.DRY instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.476 WARNING (MainThread) [homeassistant.components.climate] HVAC_MODE_FAN_ONLY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core2025.1. Use HVACMode.FAN_ONLY instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.483 WARNING (MainThread) [homeassistant.components.climate] HVAC_MODE_HEAT was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.490 WARNING (MainThread) [homeassistant.components.climate] HVAC_MODE_HEAT_COOL was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT_COOL instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.497 WARNING (MainThread) [homeassistant.components.climate] HVAC_MODE_OFF was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.504 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_AUX_HEAT was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.AUX_HEAT instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.511 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_FAN_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.FAN_MODE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.518 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_PRESET_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.525 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_SWING_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core2025.1. Use ClimateEntityFeature.SWING_MODE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.532 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_TARGET_HUMIDITY was used from midea_ac_lan, this is a deprecated constant which will be removed in HACore 2025.1. Use ClimateEntityFeature.TARGET_HUMIDITY instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.539 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_TARGET_TEMPERATURE was used from midea_ac_lan, this is a deprecated constant which will be removed inHA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.546 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_TARGET_TEMPERATURE_RANGE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE_RANGE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.553 WARNING (MainThread) [homeassistant.components.climate] HVAC_MODE_AUTO was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.560 WARNING (MainThread) [homeassistant.components.climate] HVAC_MODE_COOL was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.COOL instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.567 WARNING (MainThread) [homeassistant.components.climate] HVAC_MODE_DRY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.DRY instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.574 WARNING (MainThread) [homeassistant.components.climate] HVAC_MODE_FAN_ONLY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core2025.1. Use HVACMode.FAN_ONLY instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.581 WARNING (MainThread) [homeassistant.components.climate] HVAC_MODE_HEAT was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.587 WARNING (MainThread) [homeassistant.components.climate] HVAC_MODE_HEAT_COOL was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT_COOL instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.594 WARNING (MainThread) [homeassistant.components.climate] HVAC_MODE_OFF was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.601 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_AUX_HEAT was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.AUX_HEAT instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.608 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_FAN_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.FAN_MODE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.615 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_PRESET_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.622 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_SWING_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core2025.1. Use ClimateEntityFeature.SWING_MODE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.629 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_TARGET_HUMIDITY was used from midea_ac_lan, this is a deprecated constant which will be removed in HACore 2025.1. Use ClimateEntityFeature.TARGET_HUMIDITY instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.636 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_TARGET_TEMPERATURE was used from midea_ac_lan, this is a deprecated constant which will be removed inHA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.643 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_TARGET_TEMPERATURE_RANGE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE_RANGE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.650 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.657 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.663 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.COOL instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.671 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT_COOL was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT_COOL instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.677 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_AUTO was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.685 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_DRY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.DRY instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.691 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_FAN_ONLY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.FAN_ONLY instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.698 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_OFF was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.OFF instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.705 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_HEAT was used from midea_ac_lan, this is a deprecated constant which will be removed in HACore 2025.1. Use HVACAction.HEATING instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.712 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_COOL was used from midea_ac_lan, this is a deprecated constant which will be removed in HACore 2025.1. Use HVACAction.COOLING instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.719 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_DRY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.DRYING instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.726 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_IDLE was used from midea_ac_lan, this is a deprecated constant which will be removed in HACore 2025.1. Use HVACAction.IDLE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.733 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_FAN was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.FAN instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.740 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.747 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE_RANGE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE_RANGE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.754 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_HUMIDITY was used from midea_ac_lan, this is a deprecated constant which will be removedin HA Core 2025.1. Use ClimateEntityFeature.TARGET_HUMIDITY instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.761 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_FAN_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.FAN_MODE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.768 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_PRESET_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.775 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_SWING_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.SWING_MODE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.782 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_AUX_HEAT was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.AUX_HEAT instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:14.789 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:17.006 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'bluetooth_adapters'. Setup failed for dependencies: bluetooth
2024-02-18 23:44:17.006 ERROR (MainThread) [homeassistant.setup] Setup failed for 'bluetooth_adapters': (DependencyError(...), 'Could not setup dependencies: bluetooth')
2024-02-18 23:44:17.181 WARNING (MainThread) [homeassistant.setup] Setup of zone is taking over 10 seconds.
2024-02-18 23:44:19.331 ERROR (MainThread) [hole] Can not load data from *hole: pihole.brainwiki.dev:443
2024-02-18 23:44:19.492 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'ibeacon'. Setup failed for dependencies: bluetooth_adapters
2024-02-18 23:44:19.492 ERROR (MainThread) [homeassistant.setup] Setup failed for 'ibeacon': (DependencyError(...), 'Could not setup dependencies: bluetooth_adapters')
2024-02-18 23:44:19.493 WARNING (MainThread) [homeassistant.setup] Setup of input_select is taking over 10 seconds.
2024-02-18 23:44:19.494 WARNING (MainThread) [homeassistant.setup] Setup of counter is taking over 10 seconds.
2024-02-18 23:44:19.498 WARNING (MainThread) [homeassistant.setup] Setup of input_datetime is taking over 10 seconds.
2024-02-18 23:44:19.498 WARNING (MainThread) [homeassistant.setup] Setup of input_text is taking over 10 seconds.
2024-02-18 23:44:19.498 WARNING (MainThread) [homeassistant.setup] Setup of input_boolean is taking over 10 seconds.
2024-02-18 23:44:19.499 WARNING (MainThread) [homeassistant.setup] Setup of waste_collection_schedule is taking over 10 seconds.
2024-02-18 23:44:19.499 WARNING (MainThread) [homeassistant.setup] Setup of input_button is taking over 10 seconds.
2024-02-18 23:44:19.650 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from better_thermostat, this is a deprecated constant which will beremoved in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/KartoffelToby/better_thermostat/issues
2024-02-18 23:44:19.650 ERROR (MainThread) [custom_components.better_thermostat.const] better_thermostat [Errno 2] No such file or directory: 'custom_components/better_thermostat/manifest.json': could not read version from manifest file.
2024-02-18 23:44:19.697 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_SET_SPEED was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.SET_SPEED instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:19.705 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_OSCILLATE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.OSCILLATE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:19.714 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_DIRECTION was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.DIRECTION instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:19.724 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_PRESET_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.PRESET_MODE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:19.736 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_SET_SPEED was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.SET_SPEED instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:19.745 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_OSCILLATE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.OSCILLATE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:19.754 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_DIRECTION was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.DIRECTION instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:19.762 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_PRESET_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.PRESET_MODE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:19.786 WARNING (MainThread) [homeassistant.components.water_heater] SUPPORT_TARGET_TEMPERATURE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:19.887 WARNING (MainThread) [homeassistant.components.water_heater] SUPPORT_OPERATION_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.OPERATION_MODE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:19.897 WARNING (MainThread) [homeassistant.components.water_heater] SUPPORT_AWAY_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.AWAY_MODE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:19.916 WARNING (MainThread) [homeassistant.components.water_heater] SUPPORT_TARGET_TEMPERATURE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:19.929 WARNING (MainThread) [homeassistant.components.water_heater] SUPPORT_OPERATION_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.OPERATION_MODE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:19.955 WARNING (MainThread) [homeassistant.components.water_heater] SUPPORT_AWAY_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.AWAY_MODE instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:19.966 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:19.981 WARNING (MainThread) [homeassistant.components.humidifier] DEVICE_CLASS_DEHUMIDIFIER was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HumidifierDeviceClass.DEHUMIDIFIER instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:19.992 WARNING (MainThread) [homeassistant.components.humidifier] DEVICE_CLASS_HUMIDIFIER was used from midea_ac_lan, this is a deprecated constant which will be removed inHA Core 2025.1. Use HumidifierDeviceClass.HUMIDIFIER instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:20.002 WARNING (MainThread) [homeassistant.components.humidifier] SUPPORT_MODES was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HumidifierEntityFeature.MODES instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:20.012 WARNING (MainThread) [homeassistant.components.humidifier] DEVICE_CLASS_DEHUMIDIFIER was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HumidifierDeviceClass.DEHUMIDIFIER instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:20.022 WARNING (MainThread) [homeassistant.components.humidifier] DEVICE_CLASS_HUMIDIFIER was used from midea_ac_lan, this is a deprecated constant which will be removed inHA Core 2025.1. Use HumidifierDeviceClass.HUMIDIFIER instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:20.031 WARNING (MainThread) [homeassistant.components.humidifier] SUPPORT_MODES was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HumidifierEntityFeature.MODES instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:20.040 WARNING (MainThread) [homeassistant.components.humidifier.const] DEVICE_CLASS_HUMIDIFIER was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HumidifierDeviceClass.HUMIDIFIER instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:20.050 WARNING (MainThread) [homeassistant.components.humidifier.const] DEVICE_CLASS_DEHUMIDIFIER was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HumidifierDeviceClass.DEHUMIDIFIER instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:20.059 WARNING (MainThread) [homeassistant.components.humidifier.const] SUPPORT_MODES was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HumidifierEntityFeature.MODES instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:20.155 WARNING (MainThread) [homeassistant.setup] Setup of schedule is taking over 10 seconds.
2024-02-18 23:44:30.270 WARNING (MainThread) [homeassistant.components.climate] Entity midea_ac_lan.152832116261152_climate (<class 'custom_components.midea_ac_lan.climate.MideaACClimate'>)does not set ClimateEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:30.270 WARNING (MainThread) [homeassistant.components.climate] Entity midea_ac_lan.152832116261152_climate (<class 'custom_components.midea_ac_lan.climate.MideaACClimate'>)does not set ClimateEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:30.270 WARNING (MainThread) [homeassistant.components.climate] Entity midea_ac_lan.152832116261152_climate (<class 'custom_components.midea_ac_lan.climate.MideaACClimate'>)implements HVACMode(s): off, auto, cool, dry, heat, fan_only and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create abug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:30.309 WARNING (MainThread) [homeassistant.components.climate] Entity midea_ac_lan.142936511613277_climate (<class 'custom_components.midea_ac_lan.climate.MideaACClimate'>)does not set ClimateEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:30.310 WARNING (MainThread) [homeassistant.components.climate] Entity midea_ac_lan.142936511613277_climate (<class 'custom_components.midea_ac_lan.climate.MideaACClimate'>)does not set ClimateEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:30.310 WARNING (MainThread) [homeassistant.components.climate] Entity midea_ac_lan.142936511613277_climate (<class 'custom_components.midea_ac_lan.climate.MideaACClimate'>)implements HVACMode(s): off, auto, cool, dry, heat, fan_only and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create abug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:30.389 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.152832116261152_current_energy_consumption (<class 'custom_components.midea_ac_lan.sensor.MideaSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total', 'total_increasing'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:30.394 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.142936511613277_current_energy_consumption (<class 'custom_components.midea_ac_lan.sensor.MideaSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total', 'total_increasing'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-02-18 23:44:31.196 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.better_thermostat.climate.BetterThermostat'>) implements HVACMode(s): heat, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/KartoffelToby/better_thermostat/issues
2024-02-18 23:44:31.204 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.better_thermostat.climate.BetterThermostat'>) implements HVACMode(s): heat, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/KartoffelToby/better_thermostat/issues
2024-02-18 23:44:31.208 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.better_thermostat.climate.BetterThermostat'>) implements HVACMode(s): heat, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/KartoffelToby/better_thermostat/issues
2024-02-18 23:44:31.213 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.better_thermostat.climate.BetterThermostat'>) implements HVACMode(s): heat, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/KartoffelToby/better_thermostat/issues
2024-02-18 23:44:31.216 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.better_thermostat.climate.BetterThermostat'>) implements HVACMode(s): heat, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/KartoffelToby/better_thermostat/issues
2024-02-18 23:44:31.252 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.localtuya.light.LocaltuyaLight'>) is using deprecated supported featuresvalues which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature.EFFECT|19: 23> and color modes, please create a bug report at https://github.com/rospogrigio/localtuya/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-02-18 23:44:31.254 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.localtuya.light.LocaltuyaLight'>) is using deprecated supported featuresvalues which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature.EFFECT|19: 23> and color modes, please create a bug report at https://github.com/rospogrigio/localtuya/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-02-18 23:44:31.552 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'default_config'. Setup failed for dependencies: bluetooth
2024-02-18 23:44:31.552 ERROR (MainThread) [homeassistant.setup] Setup failed for 'default_config': (DependencyError(...), 'Could not setup dependencies: bluetooth')
2024-02-18 23:44:33.966 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 192.168.178.1 for fritzbox
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 467, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 462, in _make_request
httplib_response = conn.getresponse()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/http/client.py", line 1423, in getresponse
response.begin()
File "/usr/local/lib/python3.12/http/client.py", line 331, in begin
version, status, reason = self._read_status()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/http/client.py", line 292, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/socket.py", line 707, in readinto
return self._sock.recv_into(b)
^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 799, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/urllib3/packages/six.py", line 770, in reraise
raise value
File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 715, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 469, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 358, in _raise_timeout
raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='192.168.178.1', port=80): Read timed out. (read timeout=10)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/homeassistant/config_entries.py", line 444, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/homeassistant/components/fritzbox/__init__.py", line 50, in async_setup_entry
has_templates = await hass.async_add_executor_job(fritz.has_templates)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyfritzhome/fritzhome.py", line 387, in has_templates
plain = self._aha_request("gettemplatelistinfos")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyfritzhome/fritzhome.py", line 109, in _aha_request
plain = self._request(url, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyfritzhome/fritzhome.py", line 42, in _request
rsp = self._session.get(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/requests/adapters.py", line 532, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='192.168.178.1', port=80): Read timed out. (read timeout=10)
2024-02-18 23:44:50.672 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform fritz is taking over 10 seconds.
2024-02-18 23:45:05.028 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.openweathermap_rain (mm/h) cannot be converted to the unit of previously compiled statistics (mm). Generation of long term statistics will be suppressed unless the unit changes back to mm or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this
2024-02-18 23:45:05.029 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.openweathermap_snow (mm/h) cannot be converted to the unit of previously compiled statistics (mm). Generation of long term statistics will be suppressed unless the unit changes back to mm or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this
github-actions[bot] commented 5 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

j0nnymoe commented 5 months ago

Your docker compose snippet doesn't seem to match the logs you've provided. Your PUID/PGID isn't being passed through it seems.

0Styless commented 5 months ago

Yeah I also noticed that before. Any idea why this is not working as expected?

0Styless commented 5 months ago

I fixed the issue with the wrong UID/GID but the bluetooth issue still persist

j0nnymoe commented 5 months ago

Are you not the person here saying your issue is fixed? https://discourse.linuxserver.io/t/home-assistant-with-conbee-ii/8625/3

0Styless commented 5 months ago

If you look closer, different issue - but yes that's me.

0Styless commented 5 months ago

This is the problem I guess:

[ls.io-init] done.
2024-02-18 23:44:05.685 ERROR (MainThread) [homeassistant.setup] Error during setup of component bluetooth
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/homeassistant/setup.py", line 333, in _async_setup_component
result = await task
^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/homeassistant/components/bluetooth/__init__.py", line 152, in async_setup
await manager.async_setup()
File "/usr/local/lib/python3.12/site-packages/homeassistant/components/bluetooth/manager.py", line 132, in async_setup
await super().async_setup()
File "src/habluetooth/manager.py", line 217, in async_setup
File "/usr/local/lib/python3.12/site-packages/bluetooth_adapters/systems/linux.py", line 36, in refresh
await self._bluez.load()
File "/usr/local/lib/python3.12/site-packages/bluetooth_adapters/dbus.py", line 39, in load
self._packed_managed_objects = await _get_dbus_managed_objects()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/bluetooth_adapters/dbus.py", line 103, in _get_dbus_managed_objects
bus = await MessageBus(bus_type=BusType.SYSTEM).connect()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dbus_fast/aio/message_bus.py", line 225, in connect
await self._authenticate()
File "/usr/local/lib/python3.12/site-packages/dbus_fast/aio/message_bus.py", line 492, in _authenticate
response = self._auth._receive_line(await self._auth_readline())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dbus_fast/auth.py", line 99, in _receive_line
raise AuthError(f"authentication failed: {response.value}: {args}")
dbus_fast.errors.AuthError: authentication failed: REJECTED: ['EXTERNAL']

image

j0nnymoe commented 5 months ago

Are you using rootless or different ID's compared to your system user ID's? As that's what your error points to, a permissions issue: https://github.com/home-assistant/core/issues/76429

0Styless commented 5 months ago

yes I'm using UID 10003 and GID 10003 and according to the linuxserver docs for homeassistant on hub.docker.com this should work with mounted volume /var/run/dbus and capabilities NET_ADMIN & NET_RAW.

I also tried to add the user ID to the systems bluetooth group. The mentioned userns=keep-id also makes no difference.

thespad commented 5 months ago

What are the permissions on /dev/ttyACM0 on the host?

0Styless commented 5 months ago
ll /dev/ttyACM0
crw-rw---- 1 root dialout 166, 0 Feb 19 20:50 /dev/ttyACM0

This one seems to solve the issue: https://community.home-assistant.io/t/bluetooth-in-ubuntu-18-04-docker-container/482363/18

After installing dbus-broker and reboot the node, now the bluetooth integration seems to work again - maybe this be added to the installatin docs?

0Styless commented 5 months ago

Yeah sorry I was to fast with - integration does not longer displays an error but hcitool still doesn't find a device inside the container

j0nnymoe commented 5 months ago

It was confirmed here that it works when we added Bluetooth support: https://github.com/linuxserver/docker-homeassistant/issues/86#issuecomment-1862483554

I feel like those ID's are slightly high unless you specifically set the users ID's to that.

0Styless commented 5 months ago

Maybe it's a good idea to add it also here: https://hub.docker.com/r/linuxserver/homeassistant

Accessing Bluetooth Device
In order to provide HA with access to the host's Bluetooth device, one needs to install BlueZ on the host, add the capabilities NET_ADMIN and NET_RAW to the container, and map dbus as a volume as shown in the below examples.
j0nnymoe commented 5 months ago

Did the solution work for you?

0Styless commented 4 months ago

Hey sorry for the delay - yes solution does work now, inside the container I can see all discovered devices.

aptalca commented 4 months ago

Maybe it's a good idea to add it also here: https://hub.docker.com/r/linuxserver/homeassistant

The docs for the integration make the host requirements clear: https://www.home-assistant.io/integrations/bluetooth/#requirements-for-linux-systems

0Styless commented 4 months ago

@aptalca you're right, honestly I looked first at the instructions from linuxserver/homeassistant