nightshift improvements

This commit is contained in:
kevinz000
2020-01-03 00:01:48 -08:00
parent 8e1affa1f5
commit aac1b42b8f
5 changed files with 24 additions and 18 deletions
+1 -1
View File
@@ -132,7 +132,7 @@
</ui-notice>
<ui-notice>
<ui-section label='Night Shift Lighting'>
{{#if data.locked && !data.siliconUser}}
{{#if data.locked && !data.siliconUser && data.lock_nightshift}}
<span>{{data.nightshiftLights ? "Enabled" : "Disabled"}}</span>
{{else}}
<ui-button icon='lightbulb-o' action='toggle_nightshift'>{{data.nightshiftLights ? "Enabled" : "Disabled"}}</ui-button>