Skip to content

Conversation

@pfefferle
Copy link
Contributor

@pfefferle pfefferle commented Nov 13, 2025

Introduces getEffectName() to provide string representation of current effect for MQTT/Home Assistant integration. Adds Home Assistant availability topic and Last Will and Testament (LWT) handling. Updates sendState and sendDiscovery to include effect and color_mode, increases buffer sizes, and ensures retained status messages.

Also fixes #551

Screenshot 2025-11-13 at 14 14 04

Introduces getEffectName() to provide string representation of current effect for MQTT/Home Assistant integration. Adds Home Assistant availability topic and Last Will and Testament (LWT) handling. Updates sendState and sendDiscovery to include effect and color_mode, increases buffer sizes, and ensures retained status messages.
Standardized spacing in function signatures and switch statements, and improved line breaks for MQTT client connection and publish calls for better readability.
@pfefferle
Copy link
Contributor Author

@dbambus ich hätte auch noch einen follow-up PR für eine text entity, damit man scroll-text auch über das Home Assistant UI schicken kann.

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

Successfully merging this pull request may close these issues.

MQTT: Farben und Brightness

1 participant