Binary Sensor does not show in default dashboard

Hi people,

I did a simple configuration in HADashboard yaml file for a new sensor setting in HA but when a check in default HADashboard they are not there you can see in picture below:

my first thought was I did something wrong and check it, it was OK. Then I checked in HADashboard with obsidian skin and found that my sensor are properly configured, working and displaying in fifth line. The picture is here below:

Personally I prefers default view, does anyone happen it by any chance? there is a problem known and solved or pretty new.

thanks in advance

your title says its a binary sensor.

what values does the sensor give in the HA frontend?
and how did you configure the sensor in the dashboard?

Also, do you have any errors in the log?

Hi Aimc,

there is not error in logs, here is when default is started http://192.168.0.100:5050/Danny

2018-09-09 17:05:06.221879 INFO function [get_dashboard] finished in 205 ms
2018-09-09 17:05:06.241309 INFO HADashboard: Dashboard disconnected
2018-09-09 17:05:06.527602 INFO HADashboard: New dashboard connected: Main Panel

then when I change to obsidian skin http://192.168.0.100:5050/Danny?skin=obsidian log is this

2018-09-09 17:07:46.461631 INFO function [get_dashboard] finished in 205 ms
2018-09-09 17:07:46.479550 INFO HADashboard: Dashboard disconnected
2018-09-09 17:07:46.784783 INFO HADashboard: New dashboard connected: Main Panel

I dont copy the pictures because they are the same

BR

Hi Rene,
the sensor are binary RF with 2 values, one for open and one for closed, the script in HA-FE is below:

binary_sensor:
  - platform: mqtt
    name: "Puerta Principal"
    state_topic: "tele/RF_Bridge/RESULT"
    value_template: '{{value_json.RfReceived.Data}}'
    payload_on: "FF3D0A"
    payload_off: "FF3D0E"
    device_class: Door
    optimistic: false
    qos: 1
    retain: false
  - platform: mqtt
    name: "Puerta Balcon"
    state_topic: "tele/RF_Bridge/RESULT"
    value_template: '{{value_json.RfReceived.Data}}'
    payload_on: "DDA30A"
    payload_off: "DDA30E"
    device_class: Door
    optimistic: false
    qos: 1
    retain: false
  - platform: mqtt
    name: "Ventana Cocina"
    state_topic: "tele/RF_Bridge/RESULT"
    value_template: '{{value_json.RfReceived.Data}}'
    payload_on: "0BAB0A"
    payload_off: "0BAB0A"
    device_class: Window
    optimistic: false
    qos: 1
    retain: false

They are represent in HA like this:
image

the configuration for HADashboard is this:

title: Main Panel
widget_dimensions: [120, 120]
widget_size: [1, 1]
widget_margins: [5, 5]
columns: 8
global_parameters:
    use_comma: 0
    precision: 1
    use_hass_icon: 1
layout:
    - sensor.humedad,     sensor.humedad1, clock.clock (4x2),  sensor.humedad2,     sensor.humedad3
    - sensor.temperatura, sensor.temperatura1,                 sensor.temperatura2, sensor.temperatura3
    -
    - binary_sensor.puerta_principal, spacer, binary_sensor.puerta_balcon, spacer, binary_sensor.ventana_cocina 
    - spacer, switch.switch1_cocina, spacer, switch.switch2_sala, spacer, switch.switch3_cuarto

the identities for binary sensor I copied (ctrl+c) directly from HA.

thanks for your help.

DH

what values do the sensors have when you look in HA devtools, states?
somehow i think the state is "unknown"there too, but that wont show in the HA GUI.

HI Rene,

the state takes value on and off either.

which are represented in HA Overview in the first icon as on and second off like this:

image

sorry i was looking at the wrong thing :wink: sometimes i read, but i see what isnt there.

do you have custom skins?
maybe a dir custom_css with the default dir in it to change something to the default skin?

because it seems you got a problem in the default skin.

Hi Rene,

I dont have custom skins but it solved after a hard reset to RasPI.

thanks for your help.