bin gerade dabei mir einen Wochenplan für mein Radio zu erstellen.
Dabei ist mir folgendes aufgefallen.
Wenn ich die Regel folgendermaßen erstelle, funktioniert sie einwandfrei.
Code: Alles auswählen
triggers:
- id: "1"
configuration:
time: 07:28
type: timer.TimeOfDayTrigger
conditions:
- inputs: {}
id: "3"
configuration:
offset: 0
type: ephemeris.WeekdayCondition
- inputs: {}
id: "5"
configuration:
offset: 0
type: ephemeris.NotHolidayCondition
- inputs: {}
id: "4"
configuration:
itemName: system_dummy_home_state_iphone
state: ON
operator: =
type: core.ItemStateCondition
actions:
- inputs: {}
id: "2"
configuration:
itemName: SYMFONISKBookshelfBuro_Fernbedienung
command: PLAY
type: core.ItemCommandAction
Zusätzlich möchte ich aber noch den Status des Kalenders mit einbinden.
Wenn ich die Abfrage mit einfüge, dann funktioniert die Regel nicht mehr, bzw. das Radio wird nicht eingeschaltet.
Code: Alles auswählen
triggers:
- id: "1"
configuration:
time: 07:30
type: timer.TimeOfDayTrigger
conditions:
- inputs: {}
id: "3"
configuration:
offset: 0
type: ephemeris.WeekdayCondition
- inputs: {}
id: "5"
configuration:
offset: 0
type: ephemeris.NotHolidayCondition
- inputs: {}
id: "4"
configuration:
itemName: system_dummy_home_state_iphone
state: ON
operator: =
type: core.ItemStateCondition
- inputs: {}
id: "6"
configuration:
itemName: KalenderAnwesenheit_TiteldesaktuellenEintrags
state: Urlaub
operator: =
type: core.ItemStateCondition
actions:
- inputs: {}
id: "2"
configuration:
itemName: SYMFONISKBookshelfBuro_Fernbedienung
command: PLAY
type: core.ItemCommandAction
Vorab schon einmal Dankeschön für eure Unterstützung.
Gruß, Karsten