Last active
May 8, 2022 02:30
-
-
Save petersem/9fddafd03c84fe82d6373a3d88463582 to your computer and use it in GitHub Desktop.
Home Assistant - MQTT sensor YAML for single card page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type: horizontal-stack | |
cards: | |
- type: vertical-stack | |
cards: | |
- type: horizontal-stack | |
cards: | |
- hours_to_show: 24 | |
graph: line | |
type: sensor | |
entity: sensor.mqtt_load_messages_sent_1m | |
detail: 2 | |
name: TX Last 1m | |
theme: Caule Black Blue | |
- hours_to_show: 24 | |
graph: line | |
type: sensor | |
entity: sensor.mqtt_load_messages_received_1m | |
detail: 2 | |
name: RX Last 1m | |
theme: Caule Black Green | |
- type: horizontal-stack | |
cards: | |
- hours_to_show: 24 | |
graph: line | |
type: sensor | |
entity: sensor.mqtt_load_messages_sent_5m | |
detail: 2 | |
name: TX Last 5m | |
theme: Caule Black Blue | |
- hours_to_show: 24 | |
graph: line | |
type: sensor | |
entity: sensor.mqtt_load_messages_received_5m | |
detail: 2 | |
name: RX Last 5m | |
theme: Caule Black Green | |
- type: horizontal-stack | |
cards: | |
- hours_to_show: 24 | |
graph: line | |
type: sensor | |
entity: sensor.mqtt_load_messages_sent_15m | |
detail: 2 | |
name: TX Last 15m | |
theme: Caule Black Blue | |
- hours_to_show: 24 | |
graph: line | |
type: sensor | |
entity: sensor.mqtt_load_messages_received_15m | |
detail: 2 | |
name: RX Last 15m | |
theme: Caule Black Green | |
- type: vertical-stack | |
cards: | |
- type: entities | |
entities: | |
- entity: sensor.mqtt_version | |
name: Version | |
- entity: sensor.mqtt_subscription_count | |
name: Subscription Count | |
- entity: sensor.mqtt_total_clients | |
name: Clients Count | |
- entity: sensor.docker_mqtt_status | |
- entity: sensor.mqtt_total_messages_stored | |
name: Messages Stored | |
- entity: sensor.mqtt_total_messages_received | |
name: Total Message RX | |
- entity: sensor.mqtt_total_messages_sent | |
name: Total Message TX | |
- entity: sensor.mqtt_total_mib_sent | |
name: Total Data TX | |
- entity: sensor.mqtt_total_mib_received | |
name: Total Data RX | |
- type: custom:uptime-card | |
title_template: MQTT | |
entity: sensor.docker_mqtt_state | |
status_adaptive_color: false | |
color: | |
ko: '#FF5050' | |
ok: running | |
ko: exited | |
tap_action: | |
action: more-info | |
bar: {} | |
show: | |
timeline: true | |
status: false | |
title: true | |
header: true | |
icon: false | |
footer: true | |
average: false | |
alignment: | |
header: spaced | |
status: spaced | |
alias: | |
ok: Ok | |
ko: Down | |
tooltip: {} | |
title_adaptive_color: true | |
init: | |
animation: raise | |
blink: | |
effect: fade | |
target: title | |
speed: 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment