Skip to content

Commit

Permalink
Update devices.html
Browse files Browse the repository at this point in the history
  • Loading branch information
DewGew authored Feb 12, 2024
1 parent 6971b9d commit b7ba0f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/devices.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ <h5 class="card-title">Description <span>| {{ v['name']['name'] }}</span></h5>
<option {% if v['type'].replace('action.devices.types.', '').lower() == 'securitysystem' %} selected {% endif %} value="securitysystem" >Security System</option>
{% elif v['customData']['domain'] == 'Scene' %}
<option {% if v['type'].replace('action.devices.types.', '').lower() == 'scene' %}selected {% endif %} value="scene">Scene</option>
{% elif v['customData']['domain'] == 'MotionSensor' %}
<option {% if v['type'].replace('action.devices.types.', '').lower() == 'sensor' %}selected {% endif %} value="sensor">Sensor</option>
{% elif v['customData']['domain'] == 'SmokeDetector' %}
<option {% if v['type'].replace('action.devices.types.', '').lower() == 'smoke_detector' %}selected {% endif %} value="smoke_detector">Smoke Detector</option>
{% elif v['customData']['domain'] == 'Camera' %}
Expand Down

0 comments on commit b7ba0f7

Please sign in to comment.