I have a AC light dimmer module which is controlled via Arduino and this reacts to numbers which is published on a MQTT topic. e.g “livingroom/lights/dimmer” 0 for off and 100 for full brightness.
How do I configure a light switch (in configuration.yaml or automation script) with a slider to publish onto this topic the numbers (0-100) which will control the light?
Hi gpbenton. Thank you for the fast response. how do I get home assistant to recognize which is max and min brightness? say if my max value is 128 instead of 100?