hi guys,
how can i change this graph, with a more readable line graph?
this is a mysensor weather station. i can get line graph for temperature and humidity, but not for pressure. do you know why?
this is the card yaml
yess, it work! but when i restart HA this change disappear…
how can make this setting persistent?
i added the attribute in developer tools → states ->State attributes
is that the right way? sorry, i’m noob in HA…
i also tried to add this code in customize.yaml (as described here ), but it doesn’t work
homeassistant:
name: Home
unit_system: metric
# etc
customize:
# Add an entry for each entity that you want to overwrite.
sensor.bme280_sensor_51_2:
unit_of_measurement: mB
Cannot help you now with this, do not have an access to HA.
Earlier there was a separate “Customize” window, a user could select there any entity and redefine existing attributes or add new attributes.
Then this window was removed from HA; it was said that customization is possible in the entity properties window (your screenshot). But you cannot find it…
Myself never used this window for customization; always use yaml.
Your yaml looks OK; have you reloaded your customizations? Also, after reloading a customized entity “demonstrates” it new properties only after it’s state change. So, in your case it is possibly better to restart HA.
i found the problem: customize.yaml is not loaded. if i put the customization in configuration.yaml it works.
now, i would like to have a separate file for sensors customization, but if i type (i found this code in serveral website):
sensor: !include sensor.yaml
in configuration.yaml i got this error:
"The system cannot restart because the configuration is not valid: Invalid config for [sensor]: required key not provided @ data[‘platform’]. Got None. (See /config/configuration.yaml, line 11). "
what is the right way to add new config file?
edit: Obviously i created the file sensor.yaml in /config
What you are trying to achieve is called “config splitting”.
There are different ways of achieving it.
Basic docs are here.
You may find a discussion here, my experience is here.