Hallo,
ich habe mir eine Automation gebaut, welche mich alle paar Wochen daran erinnert, dass ich Mülldienst habe. Da ich in einem 7-Parteien Haus wohne, sind das alle 7 Wochen.
Jetzt habe ich mir die Wochen gezogen und ein kleiones Script gebaut, das mir aber nicht gefällt.
Ich kann nämlich nur eine Woche die größer als X und kleiner als Y ist aussuchen.
Ich komme ja vom IObroker, und das Blockly dort ist wirklich klasse.
Das fehlt mir in HA wirklich ![]()
Also ich will genau die eine Woche zwischen den Werten. Und nicht so wie das momentan aussieht:
trigger:
- platform: state
entity_id:
- counter.kalenderwoche
condition:
- condition: or
conditions:
- condition: numeric_state
entity_id: counter.kalenderwoche
above: 15
below: 17
- condition: numeric_state
entity_id: counter.kalenderwoche
above: 22
below: 24
- condition: numeric_state
entity_id: counter.kalenderwoche
above: 29
below: 31
- condition: numeric_state
entity_id: counter.kalenderwoche
above: 36
below: 38
- condition: numeric_state
entity_id: counter.kalenderwoche
above: 43
below: 45
- condition: numeric_state
entity_id: counter.kalenderwoche
above: 50
below: 52
Da kann mir bestimmt jemand einen Tip geben oder?
Danke schonmal.