mirror of
https://github.com/tsightler/ring-mqtt.git
synced 2025-09-26 21:01:12 +08:00
Update entity categories
This commit is contained in:
@@ -56,6 +56,7 @@ export default class RingSocketDevice extends RingDevice {
|
||||
...this.device.data.hasOwnProperty('tamperStatus') ? {
|
||||
tamper: {
|
||||
component: 'binary_sensor',
|
||||
category: 'diagnostic',
|
||||
device_class: 'tamper',
|
||||
parent_state_topic: 'info/state',
|
||||
value_template: '{% if value_json["tamperStatus"] is equalto "tamper" %}ON{% else %}OFF{% endif %}'
|
||||
|
@@ -34,7 +34,6 @@ export default class Chime extends RingPolledDevice {
|
||||
},
|
||||
snooze: {
|
||||
component: 'switch',
|
||||
category: 'config',
|
||||
icon: 'hass:bell-sleep',
|
||||
attributes: true
|
||||
},
|
||||
|
Reference in New Issue
Block a user