Changes between Version 27 and Version 28 of Proposal
- Timestamp:
- Jun 5, 2013, 8:40:00 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Proposal
v27 v28 40 40 41 41 # Registering device 42 ETS.register Device(station)42 ETS.register(station) 43 43 44 44 # Linking weather station Datapoints to Group Address … … 92 92 93 93 # Registering device 94 ETS.register Device(station)94 ETS.register(station) 95 95 96 96 # Linking weather station Datapoints to Group Address … … 151 151 152 152 rule = BathroomHeater(name="bathroom_heater", desc="Bathroom heating management", address="1.2.3") 153 ETS.register Rule(rule)153 ETS.register(rule) 154 154 ETS.link(dev=station, dp="bathroom_temp", gad="1/1/1") 155 155 ETS.link(dev=station, dp="bathroom_temp_setup", gad="1/1/2")