litinoveweedle / SmartIR

⏻ Control Home Assistant climate, media and fan devices via IR/RF controllers (Broadlink, Xiaomi, MQTT, LOOKin, ESPHome)
MIT License
45 stars 12 forks source link

custom not starting #13

Closed tayanov closed 1 month ago

tayanov commented 1 month ago

if i try setup Yaml version, ha say yaml not supported. Try GUI version. if i try setup GUI version? ha say you need use Yaml. wtf?

Describe the bug

A clear and concise description of what the bug is.

Debug log


Add your logs here.

Additional context

Add any other context about the problem here.

tayanov commented 1 month ago

Снимок экрана 2024-05-27 152756

tayanov commented 1 month ago

and more ... Регистратор: homeassistant.helpers.entity Источник: helpers/entity.py:1632 Первое сообщение: 15:24:57 (1 сообщений) Последнее сообщение: 15:24:57

Entity None (<class 'custom_components.smartir.media_player.SmartIRMediaPlayer'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.VOLUME_MUTE|PREVIOUS_TRACK|NEXT_TRACK|TURN_ON|TURN_OFF|PLAY_MEDIA|VOLUME_STEP|SELECT_SOURCE: 4024>, please create a bug report at https://github.com/litinoveweedle/SmartIR/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

gianlucasullazzo commented 1 month ago

Hi, same here. But it's working

openg12 commented 1 month ago

to fix "the smartir integration does not support YAML" just delete the " smartir: " in configuration.yaml and then restart the HA

gianlucasullazzo commented 1 month ago

It works thanks

litinoveweedle commented 1 month ago

Hello,

this is intended behavior and not a bug, ;-) Please just delete line smartir: from your yaml configuration - as correctly noted by @openg12. This configuration is not needed anymore.