It would be nice if the Hostname of the system HA is running could be displayed using System Monitor;
sensor:
- platform: systemmonitor
resources:
- type: hostname
It would be nice if the Hostname of the system HA is running could be displayed using System Monitor;
sensor:
- platform: systemmonitor
resources:
- type: hostname
Why do you want a sensor to contain your hostname?
It is not something that should change.
To display it in a card. I have a delopment, testing and production environment and having the hostname shown on screen mitigates the risk working on the wrong server. This is common practice in IT.
For now I fixed it with a commandline sensor. I see no reason why this wouldn’t be included in System Monitor as it is basic system information. It would be great if such info could be added to the blue bar on top of a screen to make it static systemwide (workaround: add an empty view with servername), but that is something completely different.
Yeah nut it does not change. For each system it is the same. A simple text field.
Sensors are for changing data.