litinoveweedle / SmartIR

⏻ Control Home Assistant climate, fan, media_player and light devices via IR/RF controllers (Broadlink, Xiaomi, MQTT, LOOKin, ESPHome, ZHA)
MIT License
97 stars 32 forks source link

device_class in media_players (documentation) #112

Closed charliejgallo closed 1 month ago

charliejgallo commented 2 months ago

tried setting the device_class in media_player and works well!! didn't see that in the documentation...

just added the device_class (could be set as tv, receiver or speaker) and the interface shows the updated icon... if device_class is not set it defaults as "TV"

sorry couldn't place the "documentation" label....

thanks for everything!!

(mqtt IR Zs06 with zigbee2mqtt, smartir 1.18)

Screen Shot 2024-08-18 at 13 06 03 Screen Shot 2024-08-18 at 13 05 40
litinoveweedle commented 2 months ago

Hello, thank you very much for the finding, I will add your finding into documentation.

litinoveweedle commented 1 month ago

Hello, added to the docs https://github.com/litinoveweedle/SmartIR/commit/425bab554539afdbd09fc4354430320611cf705f

Closing this and thank you for finding this!