Copy the timer_entity.yaml file with your other package file.
If you didn't configure packages file before, follow these steps:
- Add these lines in your configuration.yaml. If you already have a line "homeassistant:", just copy the "packages" line.
homeassistant:
packages: !include_dir_named packages/
- Create the "packages" folder in your "config" folder in Home Assistant.
- Download or copy the timer_entity.yaml file in your "HA"/config/packages/ folder.
- Reboot HA
For this package, you must replace "switch.cuisine" with the ID of the device you want to control. Example: "switch.cuisine" can become "switch.car_charger"
To modify the names and aliases, you can replace "Prise cuisine" and "prise_cuisine" with what you want, but if you modify them, you must change them all, unless you know exactly what you're doing. Example for the alias: "Prise cuisine Auto Off" can become "Car charger Auto Off" Example for the name: "timer.prise_cuisine_minuteur" can become "timer.car_charger_timer"
You can set the minimum and maximum time for the timer with:
min: 10 # Set the minimum time for the slider
max: 600 # Set the maximum time for the slider
Note that you can add aliases in Home assistant without changing those in this package.
In the script for notifications, you can add your mobile and Alexa. For Google, you can add a temporary text-to-speech to work around the SDK problems.
To add the dashboard copy the content of the dashboard yaml file in a empty ("manual") card. There no other option to see the live countdown.
For the dashboard.yaml, just copy the content of the file in a empty card. It's can be hard to set the time with the tiny default slider.
For the Dashboard extra, you need to install 2 extra feature. You can install them manually or you can install HACS and had them from Hacs/Interface. If you want to install HACS, fallow theses instructions: https://hacs.xyz/
- slider-entity-row: https://github.com/thomasloven/lovelace-slider-entity-row
- Mushroom : https://github.com/piitaya/lovelace-mushroom
After instill these 2 extra, you can paste the "dashboard_extra.yaml" content in a empty card of your dashboard for this result.