TheThingSystem / steward

The Thing System is a set of software components and network protocols that aims to fix the Internet of Things. Our steward software is written in node.js making it both portable and easily extensible. It can run on your laptop, or fit onto a small single board computer like the Raspberry Pi.
http://thethingsystem.com
Other
346 stars 81 forks source link

Nocolon #267

Closed RussNelson closed 9 years ago

RussNelson commented 9 years ago

If the Nest Protect 'name' is empty, the device gets named ": Yourname". This looks funny because the line gets split (or, at least, it does on my screen and device named Downstairs) and the first line is only a colon. Therefore, if 'name' is empty, don't prepend the ": ".