TM1637 change intensity in HA

Hello!
I have a basic TM1637 Display:

display:
    platform: tm1637
    id: tm1637_display
    clk_pin: 2
    dio_pin: 0
    intensity: 7
    update_interval: 500ms
    lambda: |-
        static int i = 0;
        i++;
        if ((i % 2) == 0)
         it.strftime("%H.%M", id(homeassistant_time).now());
        else
          it.strftime("%H%M", id(homeassistant_time).now());

Is there a way to change the intensity of the display in HA like a light component?

I think it.set_intensity(3)

1 Like