How to hide slider on group

Hi
I have tried many solutions recommended in the posts but I can’t obscure the slider on a group.


This is part of the configuration file that defines the group display

  tracking:
    name: "Dispositivi connessi"
    entities:
      - sensor.stampantebrother          
      - sensor.pcdesktop                
      - sensor.routerzyxel              
      - sensor.routertim                

Any help is welcome. Thanks.

If it is just a Lovelace view. Then the following code should do the trick

show_header_toggle: false
1 Like

Hi Infineghost.
I don’t know if it’s a lovalace view, but following your suggestion I get this:


Because there is an error in the configuration. Maybe because I don’t have a lovalace
:joy::joy:

Doesn’t matter, what is the error?

Can you post the code of your view. Because in the first post you’re only showing the device tracker section of your config, not your view

Thanks for your reply. Here is my file:

homeassistant:
  # Name of the location where Home Assistant is running
  name: myHome
  # Location required to calculate the time the sun rises and sets
  latitude: XX.yyyyyyy
  longitude: YY.yyyyyyy
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 182
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: Europe/Rome

  whitelist_external_dirs:
    - /home/homeassistant/.homeassistant/www


  # Customization file
  #customize: !include customize.yaml
  customize:
    person.ros:
      icon: mdi:gender-male
    person.bar:
      icon: mdi:gender-female
    person.and:
      icon: mdi:gender-male
    person.mar:
      icon: mdi:gender-male

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Show the introduction message on startup.
#introduction:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
http:
  api_password: pwd
  ssl_certificate: /home/homeassistant/dehydrated/certs/myhome.duckdns.org/fullchain.pem
  ssl_key: /home/homeassistant/dehydrated/certs/myhome.duckdns.org/privkey.pem
  base_url: myhome.duckdns.org:8123

duckdns:
  domain: myhome.duckdns.org
  access_token: mytoken

# Text to speech

tts:
  - platform: google
   
device_tracker:
  - platform: nmap_tracker
    hosts: 192.168.1.0/24
    scan_options: " --privileged -sP "
    interval_seconds: 12
    consider_home: 180

sensor:
  - platform: template
    sensors:

      pcdesktop:
        friendly_name: "Pc Dell"
        value_template: >-
          {% if is_state('device_tracker.mypcdesktop_myhome', 'home') %}
            Acceso
          {% else %}
            Spento
          {% endif %}
        icon_template: >-
          {% if is_state('device_tracker.mypcdesktop_myhome', 'home') %}
            mdi:printer
          {% else %}
            mdi:power-plug-off
          {% endif %}


      myprinter:
        friendly_name: "Stampante Brother"
        value_template: >-
          {% if is_state('device_tracker.btoherwifi_myhome', 'home') %}
            Accesa
          {% else %}
            Spenta
          {% endif %}
        icon_template: >-
          {% if is_state('device_tracker.btoherwifi_myhome', 'home') %}
            mdi:printer
          {% else %}
            mdi:power-plug-off
          {% endif %}

      routerzyxel:
        friendly_name: "Gateway Zyxel"
        value_template: >-
          {% if is_state('device_tracker.02_10_18_01_00_02', 'home') %}
            Acceso
          {% else %}
            Spento
          {% endif %}
        icon_template: >-
          {% if is_state('device_tracker.02_10_18_01_00_02', 'home') %}
            mdi:access-point-network
          {% else %}
            mdi:power-plug-off
          {% endif %}

      routertim:
        friendly_name: "Router TIM"
        value_template: >-
          {% if is_state('device_tracker.54_83_3a_b8_bf_c0', 'home') %}
            Acceso
          {% else %}
            Spento
          {% endif %}
        icon_template: >-
          {% if is_state('device_tracker.54_83_3a_b8_bf_c0', 'home') %}
            mdi:access-point-network
          {% else %}
            mdi:power-plug-off
          {% endif %}

      sun_state:
        friendly_name: "Sole"
        value_template: >-
          {% if is_state('sun.sun', 'above_horizon') %}
            sopra l'orizzonte
          {% else %}
            sotto l'orizzonte
          {% endif %}
        icon_template: >-
          {% if is_state('sun.sun', 'above_horizon') %}
            mdi:weather-sunny
          {% else %}
            mdi:weather-night
          {% endif %}

  - platform: systemmonitor
    resources:
      - type: disk_use_percent
        arg: /
      - type: disk_free
        arg: /
      - type: memory_free
      - type: network_in
        arg: eth0
      - type: network_out
        arg: eth0
      - type: ipv4_address
        arg: eth0

  - platform: darksky
    api_key: myApiKey
    monitored_conditions:
      - summary
      - temperature
      - apparent_temperature
      - humidity
      - hourly_summary
      - precip_probability
      - precip_intensity
      - wind_bearing
      - wind_speed

  - platform: command_line
    name: "RaspCPU"
    command: 'cat /sys/class/thermal/thermal_zone0/temp'
    unit_of_measurement: 'C'
    value_template: '{{ value | multiply(0.001) | round(1)}}'

group:

  default_view:
    view: yes
    icon: mdi:home
    entities:
      - group.sole
      - group.famiglia
      - group.meteo
      - group.raspberry
      - group.tracking

  sole:
    name: "Sole"
    entities:
      - sensor.sun_state
  meteo:
    name: "Meteo"
    entities:
      - sensor.dark_sky_summary
      - sensor.dark_sky_temperature
      - sensor.dark_sky_apparent_temperature
      - sensor.dark_sky_humidity
      - sensor.dark_sky_hourly_summary
      - sensor.dark_sky_precip_probability
      - sensor.dark_sky_precip_intensity
      - sensor.dark_sky_wind_bearing
      - sensor.dark_sky_wind_speed
  raspberry:
    name: "raspPi"
    entities:
      - sensor.raspCPU
      - sensor.memory_free
      - sensor.disk_use_percent
      - sensor.disk_free
      - sensor.network_in_eth0
      - sensor.network_out_eth0
      - sensor.ipv4_address_eth0

  famiglia:
    name: "Famiglia"
    entities:
      - person.bar
      - person.and
      - person.mar
      - person.ros

  tracking:
    name: "Dispositivi connessi"
    entities:
      - sensor.myprinter
      - sensor.pcdesktop
      - sensor.routerzyxel
      - sensor.routertim

#automation: !include automations.yaml
#script: !include scripts.yaml
#sensor: !include sensors.yaml
#group: !include groups.yaml
#discovery:

In this case because u use the old view (not lovelace).

You should use the following code which will hide the toggle

group:

  default_view:
    view: yes
    icon: mdi:home
    control: hidden #this will hide the toggle button
    entities:
      - group.sole
      - group.famiglia
      - group.meteo
      - group.raspberry
      - group.tracking

I did some tests. Function only if you insert in all views.
Now do you advise me to switch to lovelace? Know that I am a novice. Thanks for your help.

group:

  default_view:
    view: yes
    icon: mdi:home
    entities:
      - group.sole
      - group.famiglia
      - group.meteo
      - group.raspberry
      - group.tracking

  sole:
    name: "Sole"
    control: hidden #this will hide the toggle button
    entities:
      - sensor.sun_state
  meteo:
    name: "Meteo"
    control: hidden #this will hide the toggle button
    entities:
      - sensor.dark_sky_summary
      - sensor.dark_sky_temperature
      - sensor.dark_sky_apparent_temperature
      - sensor.dark_sky_humidity
      - sensor.dark_sky_hourly_summary
      - sensor.dark_sky_precip_probability
      - sensor.dark_sky_precip_intensity
      - sensor.dark_sky_wind_bearing
      - sensor.dark_sky_wind_speed
      
  raspberry:
    name: "raspPi"
    entities:
      - sensor.raspCPU
      - sensor.memory_free
      - sensor.disk_use_percent
      - sensor.disk_free
      - sensor.network_in_eth0
      - sensor.network_out_eth0
      - sensor.ipv4_address_eth0

  famiglia:
    name: "Famiglia"
    control: hidden #this will hide the toggle button
    entities:
      - person.bar
      - person.and
      - person.mar
      - person.ros

  tracking:
    name: "Dispositivi connessi"
   control: hidden # this will hide the toggle button

entities:
      - sensor.myprinter
      - sensor.pcdesktop
      - sensor.routerzyxel
      - sensor.routertim

That’s correct, if you want to use the toggle button with all your views you should indeed put the control: hidden to all the views. So i assume you found your answer now?.

If you’re a novice i would recommend lovelace. As it’s user friendly because everything can be adjusted in the GUI.

Yes, it works. Your suggestion was right. Thanks also for the advice.