I need to have two items switched at the same time. One on one off.
I have edited the items and added a dumb switch. But still doesn’t seem to work
I get in logs 2016-02-29 19:19:20.969 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item Ventilation_night for widget org.openhab.model.sitemap.Switch
Item
Swtich Ventilation_night "Night ventilation"
Than the rules
` import org.openhab.core.library.types.*
import org.openhab.core.persistence.*
import org.openhab.model.script.actions.*
import java.lang.Math
import java.util.Calendar
import java.util.Date
import java.util.TimeZone
import java.text.SimpleDateFormat
var Number counter = 1
var Timer timer = null
rule "Night Ventilation ON"
when Item Ventilation_night changed from OFF to ON
then
vent_klapan_pritok=OFF
vent_vsr_low=ON
end
rule "Night Ventilation OFF"
when Item Ventilation_night changed from ON to OFF
then
vent_klapan_pritok=ON
vent_vsr_low=OFF
end `