I want to set one mqtt dimmer that must get {“turn”:“on”, “brightness”:50}
I have set it like this
- platform: mqtt
name: "Light 1"
command_topic: "shellies/xxxx"
state_topic: "shellies/xxxx"
state_value_template: "{{ value_json.ison }}"
brightness_command_topic: "shellies/xxxx"
brightness_state_topic: "shellies/xxxx"
brightness_scale: 100
on_command_type: "brightness"
brightness_value_template: '"turn":"on", "brightness":{{brightness}}'
But i still get over mqqt only 50 without any other message