AVM Fritz! Binding does not recognize radiator mode "WINDOW_OPEN"

i figured it out by reading the sourcecode

var actions = getActions("avmfritz", "avmfritz:FRITZ_DECT_301:fritz:bedroom-heater")

rule "Bedroom Heater Off"
when
    Item Bedroom_Window changed to OPEN
then
    actions.setWindowOpenMode(86400)
end

rule "Bedroom Heater On"
when
    Item Bedroom_Window changed to CLOSED
then
    actions.setWindowOpenMode(0)
end

rule "Bedroom Heater Force Off"
when
    Item Bedroom_Heater_radiator_mode changed
then
    if (Bedroom_Window.state == OPEN) {
        actions.setWindowOpenMode(86400)
    }
end

this was painful!

i almost thought about ditching fritz dect things all together… but this is kind of neat now.