Last Day of month
Der Code ist eine Packages Datei
last_day_of_month.yaml
binary_sensor:
- platform: template
sensors:
last_day_of_the_month:
friendly_name: 'Last Day of the Month'
entity_id: sensor.date
icon_template: "mdi:calendar"
value_template: "{{ int(((as_timestamp(now()) + 86400) | timestamp_custom('%d', true))) == 1 }}"