}
]
},
+ {
+ "type": "grid",
+ "cards": [
+ {
+ "type": "heading",
+ "heading": "Sensore Presenza Studio - SONOFF SNZB-03P",
+ "heading_style": "title"
+ },
+ {
+ "type": "entities",
+ "show_header_toggle": "off",
+ "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n",
+ "entities": [
+ {
+ "type": "custom:hui-element",
+ "card_type": "vertical-stack",
+ "cards": [
+ {
+ "type": "horizontal-stack",
+ "cards": [
+ {
+ "type": "picture",
+ "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n",
+ "image": "https://www.zigbee2mqtt.io/images/devices/SNZB-03P.png"
+ },
+ {
+ "type": "vertical-stack",
+ "cards": [
+ {
+ "type": "custom:button-card",
+ "template": "template_device_generic_state",
+ "entity": "binary_sensor.sensore_presenza_studio_occupancy",
+ "name": "Stato"
+ },
+ {
+ "type": "custom:button-card",
+ "template": "template_device_generic_battery_state",
+ "entity": "sensor.sensore_presenza_studio_illumination",
+ "name": "Illuminazione"
+ },
+ {
+ "type": "custom:button-card",
+ "template": "template_device_generic_battery_state",
+ "entity": "sensor.sensore_presenza_studio_battery",
+ "name": "Batteria"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
{
"type": "grid",
"cards": [
}
]
}
- ],
- "max_columns": 3,
- "path": "config"
+ ]
},
{
"icon": "mdi:zigbee",
"entity": "sensor.sensore_acqua_veranda_battery",
"name": "Sensore Acqua Veranda"
},
+ {
+ "entity": "sensor.sensore_presenza_studio_battery",
+ "name": "Sensore Presenza Studio"
+ },
+ {
+ "entity": "sensor.sensore_presenza_bagno_grande_battery",
+ "name": "Sensore Presenza Bagno Grande"
+ },
{
"entity": "sensor.wireless_button_battery",
"name": "wireless_button"
friendly_name: "Illuminazione"
sensor.sensore_presenza_bagno_grande_voltage:
friendly_name: "Tensione"
+
+# Sensore Presenza Studio
+binary_sensor.sensore_presenza_studio_occupancy:
+ friendly_name: "Presenza Rilevata"
+number.sensore_presenza_studio_motion_timeout:
+ friendly_name: "Timeout"
+sensor.sensore_presenza_studio_battery:
+ friendly_name: "Sensore Batteria"
+sensor.sensore_presenza_studio_illumination:
+ friendly_name: "Illuminazione"
+sensor.sensore_presenza_studio_voltage:
+ friendly_name: "Tensione"
- sensor.sensore_presenza_bagno_grande_battery
- sensor.sensore_presenza_bagno_grande_illumination
- sensor.sensore_presenza_bagno_grande_voltage
+ - binary_sensor.sensore_presenza_studio_occupancy
+ - sensor.sensore_presenza_studio_battery
+ - sensor.sensore_presenza_studio_illumination
+ - sensor.sensore_presenza_studio_voltage
# pfSense
- binary_sensor.freebsd_router_stato_della_wan
#- sensor.freebsd_router_dati_inviati
- sensor.sensore_presenza_bagno_grande_battery
- sensor.sensore_presenza_bagno_grande_illumination
- sensor.sensore_presenza_bagno_grande_voltage
+ - binary_sensor.sensore_presenza_studio_occupancy
+ - sensor.sensore_presenza_studio_battery
+ - sensor.sensore_presenza_studio_illumination
+ - sensor.sensore_presenza_studio_voltage
# pfSense
- binary_sensor.freebsd_router_stato_della_wan
#- sensor.freebsd_router_dati_inviati