I was wondering if there has been any interest in integrating the moods from Ikea’s gateway into Home Assistant, possibly as scenes?
The reason I ask is because the behavior of the bulbs when controlled by Ikea’s app or remote is significantly different from how the bulbs behave when controlled through Home Assistant.
Home Assistant cannot change color temperature on groups of Tradfri bulbs, whether they are grouped within HASS or the group was imported from the gateway. In order to set a scene where the bulbs change brightness and color temp you must address each bulb separately. This has two big drawbacks, first is the lag from addressing each bulb separately, the second is that Tradfri bulbs do not support the transition function in HASS. If you tell a Tradfri bulb “I want these settings,” it sets the bulb to those settings instantly. This goes for on and off as well as brightness and color temp.
The way the Tradfri app circumvents this is with moods. Moods in the Tradfri app are essentially scenes that are saved in the gateway. Calling moods instead of designing scenes on HASS allows the lights to transition smoothly and in unison. Any Tradfri app that gets paired with the gateway loads the moods that are saved on it and can use them. The benefit of this is that moods can be activated via coap and the gateway just like the other settings.
I noticed that pytradfri has the ability to take inventory of these moods and activate them upon request. I was hoping that just as HASS currently has the ability to import groups from the Tradfri gateway, we could add the functionality to import moods from the gateway as scenes. Just as the group import can be disabled for users who desire it, the mood import could be disabled in configuration.