No outline on the ZeroBorg div when focused

This commit is contained in:
Fabio Manganiello 2018-04-13 23:45:29 +02:00
parent b863213bd7
commit e83b21ad33
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,7 @@
#zb-container {
outline: none !important;
}
.zb-controls-container { .zb-controls-container {
margin: auto; margin: auto;
width: 25%; width: 25%;

View file

@ -68,6 +68,9 @@ class GpioZeroborgPlugin(Plugin):
elif 'below_threshold_direction' in sensor: elif 'below_threshold_direction' in sensor:
direction = sensor['below_threshold_direction'] direction = sensor['below_threshold_direction']
logging.info('Sensor: {}\tMeasurement: {}\tDirection: {}'
.format(sensor['plugin'], value, direction))
return direction return direction