Custom Component: Cover Time Based

Correct. The code is here https://github.com/nagyrobi/home-assistant-custom-components-cover-rf-time-based

:information_source: In case youā€™re interested, I made (yet another) fork of the project:

  • Covers can be configured via config_flow (web-ui) in Helpers section, no need to deal with YAML code.
  • Added event listening to the switches, manually turning on the switch will also update/sync the cover position in Home Assistant

Kudos @davidramosweb for the base code! :heart:

2 Likes

Thanks! I have some doubts in the way to create the helpersā€¦but I will keep trying.

Hi David, is it possible to check the set position method? For me is not working correctly. If I set position from 100 to 90 it continues till 0ā€¦

I have a cover entity and no switches.Can I use this to close and open?

Is your Sonoff RF bridge modified? I have my R2.2 bridge flashed with esphome (but no portisch firmware nor direct hacked). When I send raw command nothing happens (orange light usually flashes but not when sending raw)

button: 
  - platform: template
    name: open
    id: shade_open
    on_press: 
      then:
        - rf_bridge.send_raw: 
           raw: 'AAB04A0314026C010E1374F0011001101010010110100101010101100101100101011010011001101001011010101010101010011010101010101010101010100110010101011010010110100255'

Is there a way to convert this raw code to ā€œsync, low, high, codeā€ format that the bridge usually sends?

@duhow thanks for your component. It has helped me to convert the Awara T2 into a propoer cover for reller blinds.

What I haven`t been able to configure is a card that enables me to show a slider to move to the desired position and also have it updated when it is moved.

Which one do you recomend to use?

I answer myself. Had not been used the tile configuration until now

type: tile
entity: cover.xxxxx
features:

  • type: cover-position
    icon: mdi:awing
    name: yyyy

has anyone been able to make set position working with the cover?

I also have the issue that it only opens or closes totaly.

Hi all, it seems since the cover time based is no longer maintained, it will stop working in 09-2025 due to error msg below:


Detected that custom integration ā€˜cover_rf_time_basedā€™ registers an entity service with a non entity service schema which will stop working in HA Core 2025.9 at custom_components/cover_rf_time_based/cover.py, line 169: platform.async_register_entity_service(, please report it to the author of the ā€˜cover_rf_time_basedā€™ custom integration

Does PLZ anyone have some clue, how to update the cover.py file, in order to keep it working?

Thx. Willy

3 Likes

Hello Iā€™m searching for a time based template for my RTS somfy covers.
Iā€™m using the overkiz integration.
Will this work with my setup?

Thanks