50 lines
1.7 KiB
YAML
50 lines
1.7 KiB
YAML
#:########################################################################################:#
|
|
# Package: RobotDyn MQTT Dimmer
|
|
# File: robotdyn_dimmers.yaml
|
|
# Version: v1.1.0
|
|
# Date: 2026-02-05
|
|
#
|
|
# Purpose:
|
|
# Provides a brightness-only Home Assistant light entity for the lounge
|
|
# RobotDyn dimmer through its JSON MQTT interface.
|
|
#
|
|
# Behaviour:
|
|
# - Reads JSON state updates from the dimmer state topic.
|
|
# - Publishes power and brightness commands to the dimmer command topic.
|
|
# - Uses a separate MQTT availability topic for online/offline status.
|
|
#
|
|
# Dependency:
|
|
# - Home Assistant MQTT integration and the external RobotDyn MQTT publisher.
|
|
#
|
|
# Known Limitations:
|
|
# - P013-F027 records that command messages are retained and may replay after
|
|
# reconnecting.
|
|
# - The configured availability topic contains "availablity"; confirm whether
|
|
# that spelling matches the publisher before correcting it.
|
|
#
|
|
# Version History:
|
|
# - v1.1.0 (2026-02-05): Added the current name, default entity ID, explicit
|
|
# availability payloads, and block-style color modes.
|
|
# - v1.0.0 (2025-09-10): Initial lounge MQTT dimmer package.
|
|
#:########################################################################################:#
|
|
|
|
mqtt:
|
|
- light:
|
|
schema: json
|
|
name: "Robodyn Dimmer"
|
|
unique_id: lounge_dimmer_1
|
|
default_entity_id: light.robodyn_dimmer
|
|
|
|
state_topic: "livingroom/dimmer"
|
|
command_topic: "livingroom/dimmer/set"
|
|
|
|
availability:
|
|
- topic: "livingroom/availablity"
|
|
payload_available: "online"
|
|
payload_not_available: "offline"
|
|
|
|
brightness: true
|
|
supported_color_modes:
|
|
- brightness
|
|
retain: true
|