Time-Range funktioniert auch bei mir sehr gut.
[{"id":"858c659397041922","type":"group","z":"a31a4aa7d1e79752","name":"","style":{"stroke":"#a4a4a4","fill":"#d1d1d1","fill-opacity":"0.5","label":false},"nodes":["667da896fa3224e5","bce1397087fd9638","0e4fddb5c97ec5aa","19801443afc4707c","a4a96ad3277498c4","87c2e90280d2c137","c7bdaf049f140017","5ab0187f35ce33d0","3c798ac2971cd1c2","3a017fdb3f2c4bd5","c741b24cc9544da1"],"x":14,"y":19,"w":1012,"h":262},{"id":"667da896fa3224e5","type":"comment","z":"a31a4aa7d1e79752","g":"858c659397041922","name":"Licht im Heizungskeller steuern","info":"","x":170,"y":60,"wires":[]},{"id":"bce1397087fd9638","type":"server-state-changed","z":"a31a4aa7d1e79752","g":"858c659397041922","name":"Heizung - Bewegung","server":"1046d712.e31c69","version":5,"outputs":1,"exposeAsEntityConfig":"","entityId":"binary_sensor.zb_bewegung_heizung","entityIdType":"exact","outputInitially":false,"stateType":"str","ifState":"","ifStateType":"str","ifStateOperator":"is","outputOnlyOnStateChange":false,"for":"0","forType":"num","forUnits":"seconds","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"}],"x":140,"y":120,"wires":[["a4a96ad3277498c4"]]},{"id":"0e4fddb5c97ec5aa","type":"api-call-service","z":"a31a4aa7d1e79752","g":"858c659397041922","name":"Heizung - AN","server":"1046d712.e31c69","version":5,"debugenabled":false,"domain":"light","service":"turn_on","areaId":[],"deviceId":["60970c8de49f42bd3963a041257f386a"],"entityId":[],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":910,"y":120,"wires":[[]]},{"id":"19801443afc4707c","type":"api-call-service","z":"a31a4aa7d1e79752","g":"858c659397041922","name":"Heizung - AUS","server":"1046d712.e31c69","version":5,"debugenabled":false,"domain":"light","service":"turn_off","areaId":[],"deviceId":["60970c8de49f42bd3963a041257f386a"],"entityId":[],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":920,"y":240,"wires":[[]]},{"id":"a4a96ad3277498c4","type":"switch","z":"a31a4aa7d1e79752","g":"858c659397041922","name":"an/aus","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"},{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":410,"y":120,"wires":[["c7bdaf049f140017","3a017fdb3f2c4bd5"],["87c2e90280d2c137"]]},{"id":"87c2e90280d2c137","type":"trigger","z":"a31a4aa7d1e79752","g":"858c659397041922","name":"","op1":"","op2":"","op1type":"nul","op2type":"pay","duration":"1","extend":true,"overrideDelay":false,"units":"min","reset":"stop","bytopic":"all","topic":"topic","outputs":1,"x":630,"y":240,"wires":[["19801443afc4707c"]]},{"id":"c7bdaf049f140017","type":"change","z":"a31a4aa7d1e79752","g":"858c659397041922","name":"wieder Bewegung","rules":[{"t":"set","p":"payload","pt":"msg","to":"stop","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":650,"y":180,"wires":[["87c2e90280d2c137"]]},{"id":"5ab0187f35ce33d0","type":"inject","z":"a31a4aa7d1e79752","g":"858c659397041922","name":"Licht AN","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":"1","topic":"","payload":"on","payloadType":"str","x":180,"y":180,"wires":[["a4a96ad3277498c4"]]},{"id":"3c798ac2971cd1c2","type":"inject","z":"a31a4aa7d1e79752","g":"858c659397041922","name":"Licht AUS","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":"1","topic":"","payload":"off","payloadType":"str","x":180,"y":240,"wires":[["a4a96ad3277498c4"]]},{"id":"3a017fdb3f2c4bd5","type":"time-range-switch","z":"a31a4aa7d1e79752","g":"858c659397041922","name":"Nachts","lat":"49.44507064020062","lon":"8.515533506870272","startTime":"sunsetStart","endTime":"sunriseEnd","startOffset":0,"endOffset":0,"x":620,"y":120,"wires":[["0e4fddb5c97ec5aa"],["c741b24cc9544da1"]]},{"id":"c741b24cc9544da1","type":"api-call-service","z":"a31a4aa7d1e79752","g":"858c659397041922","name":"Heizung - AN","server":"1046d712.e31c69","version":5,"debugenabled":false,"domain":"light","service":"turn_on","areaId":[],"deviceId":["60970c8de49f42bd3963a041257f386a"],"entityId":[],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":910,"y":180,"wires":[[]]},{"id":"1046d712.e31c69","type":"server","name":"Home Assistant","addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"","connectionDelay":false,"cacheJson":false,"heartbeat":false,"heartbeatInterval":"","statusSeparator":"","enableGlobalContextStore":false}]