Sensors with monitored_conditions

Hi,

I’m trying to configure un simple sensor “NZBGet” with somes “monitored_conditions:”. My problem is, when I want to see one or more monitored_conditons in my file groups.yaml, It doesn’t appear properly…

my sensros.yaml :

- platform: nzbget
  base_url: http://xxxxxxxx:6789
  username: xxxxxxxx
  password: xxxxxxxx
  monitored_variables:
    - DownloadRate

My customized.yaml:

sensor.nzbget_downloadrate:
  friendly_name: Vitesse
  icon: mdi:speedometer

My groups.yaml:

default_view:
  view: yes
  entities:
    - group.seedbox

Seedbox:
  - sensor.nzbget_downloadrate

If I write that, I have no GUI result but I can see the sensor in my Logbook :

If I write that in my groups.yaml:

Seedbox:
      - sensor.nzbget.downloadrate

I have this result without customized parameter:

Could you explain me how can I do to have a simple group like this one please, i really don’t inderstand why ??

Thank you.

Your indentation is a bit off with the group file.

Here’s a bit from mine to use as an example

Home:
  name: Home
  entities:
    - group.Kitchen
    - group.Livingroom
Outdoor:
  name: Outdoor
  entities:
    - sun.sun
    - sensor.weather_summary
    - sensor.weather_hourly_summary
    - sensor.weather_temperature
    - sensor.outside_temperature
    - sensor.weather_humidity
    - sensor.weather_pressure
    - sensor.weather_precip
    - sensor.weather_precip_intensity
    - sensor.weather_precip_probability

Thank for your reply but nothing appear in my default_view, but I can always see its in my logbook without customized :

My groups.yaml :

default_view:
  view: yes
  entities:
    - group.seedbox

Seedbox:
  entities:
    - sensor.nzbget_downloadrate
    - sensor.nzbget_freediskspacemb
    - sensor.nzbget_remainingsizemb

In my entity list the sensor shows up as sensor.nzbget_speed, not sensor.nzbget_downloadrate, I’d double-check that, as it works perfectly fine for me.

Thank you !! It’s work !

However, in the Home-assistant’s documentation it is written this :

And I don’t see any Speed field… Could you send me this part of your sensors.yaml please ?

That’s just a friendly_name on the DownloadRate sensor.

Are you sure ? Because I write it directly in my sensros.yaml:

- platform: nzbget
  base_url: http://xxxxxx:6789
  username: xxxxx
  password: xxxxx
  monitored_variables:
    - Speed
    - DownloadPaused

And it’s work for Speed but not for DownloadPause. Or I didn’t inderstand… I have no result if I force friendly_name: in my customized.yaml.

An other idea ?

The possible sensor types are enumerated in the code: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/sensor/nzbget.py#L14

Thank for this link, it’s work !