Skip to content
Snippets Groups Projects
Commit 78bc6855 authored by jkerdreu's avatar jkerdreu
Browse files

Added default values


git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2837 b32b6428-25c9-4566-ad07-03861ab6144f
parent 786b9757
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ def main(addr):
dev.info = 'Dummy Lamp7'
# attributes
light = dev.new_attribute('light')
light = dev.new_attribute('light',False)
dimmer = dev.new_attribute('dimmer',50)
# methods
......
......@@ -13,6 +13,7 @@ def main(engine):
dev = devices.lamp(addr)
dev.info = 'Dummy Mini Lamp'
dev.attributes['light'] = False
# methods
def on():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment