Changes between Version 29 and Version 30 of Proposal


Ignore:
Timestamp:
Jun 5, 2013, 8:41:20 AM (11 years ago)
Author:
Frédéric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Proposal

    v29 v30  
    150150            self.dp["bathroom_heater"].value = "Off"
    151151
    152 heaterRule = BathroomHeater(name="bathroom_heater", desc="Bathroom heating management", address="1.2.3")
     152heater = BathroomHeater(name="bathroom_heater", desc="Bathroom heating management", address="1.2.3")
    153153ETS.register(heaterRule)
    154 ETS.link(rule=heaterRule, dp="bathroom_temp", gad="1/1/1")
    155 ETS.link(rule=heaterRule, dp="bathroom_temp_setup", gad="1/1/2")
    156 ETS.link(rule=heaterRule, dp="bathroom_heater", gad="1/1/3")
     154ETS.link(rule=heater, dp="bathroom_temp", gad="1/1/1")
     155ETS.link(rule=heater, dp="bathroom_temp_setup", gad="1/1/2")
     156ETS.link(rule=heater, dp="bathroom_heater", gad="1/1/3")
    157157}}}
    158158