Skip to content
Snippets Groups Projects
Commit 6e7ecdef authored by jkerdreu's avatar jkerdreu
Browse files

Added contact



git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2558 b32b6428-25c9-4566-ad07-03861ab6144f
parent 4c86fb2d
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,11 @@
</%def>
<%def name="contact(addr)">
<div data-is="contact" xaal_addr=${addr}></div>
</%def>
<%def name="shutter(nickname)">
<% dev = devices.fetch_one_kv('nickname',nickname) %>
% if dev:
......@@ -77,6 +82,7 @@
if type_.startswith('co2meter.') : return 'co2meter'
if type_.startswith('motion.') : return 'motion'
if type_.startswith('door.') : return 'door'
if type_.startswith('contact.') : return 'contact'
return 'generic'
%>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment