Mercurial > code > home > repos > homeauto
comparison lib/devices_shared/devices_shared.py @ 1437:d442c4d1b9c7
typo in xsd: namespace for led strips
Ignore-this: eb8df937d916bff3691e12ba7e78bec
darcs-hash:1d6779cd288b6744d8bc54feb86b0a8786ddfccf
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Mon, 12 Aug 2019 02:21:01 -0700 |
parents | be9b456717bd |
children |
comparison
equal
deleted
inserted
replaced
1436:615cd1be0d87 | 1437:d442c4d1b9c7 |
---|---|
2 import numpy | 2 import numpy |
3 import logging | 3 import logging |
4 import imageio | 4 import imageio |
5 from rdflib import Namespace, RDF, URIRef, Literal | 5 from rdflib import Namespace, RDF, URIRef, Literal |
6 | 6 |
7 XS = Namespace('http://www.w3.org/2001/XMLSchema#double') | 7 XS = Namespace('http://www.w3.org/2001/XMLSchema#') |
8 ROOM = Namespace('http://projects.bigasterisk.com/room/') | 8 ROOM = Namespace('http://projects.bigasterisk.com/room/') |
9 log = logging.getLogger() | 9 log = logging.getLogger() |
10 | 10 |
11 def _rgbFromHex(h): | 11 def _rgbFromHex(h): |
12 rrggbb = h.lstrip('#') | 12 rrggbb = h.lstrip('#') |