Latest Custom UI for 0.62

I have just updated tp HA 0.62 and updated the @andrey Custom UI 20180126.
and this happen the state_card_mode: badges

ScreenShot_20180127202902

and then i try to use the columns: in customizer with the error

customizer:
  custom_ui: local
  columns: 350, 700, 1050, 1400, 1850, 2100
2018-01-27 20:35:50 ERROR (MainThread) [homeassistant.config] Invalid config for [customizer]: expected a list for dictionary value @ data['customizer']['columns']. Got '350, 700, 1050, 1400, 1850, 2100'. (See /home/hass/.homeassistant/configuration.yaml, line 21). Please check the docs at https://home-assistant.io/components/customizer/
2018-01-27 20:35:50 ERROR (MainThread) [homeassistant.setup] Setup failed for customizer: Invalid config.

Failed config
customizer:
columns: 350, 700, 1050, 1400, 1850, 2100
custom_ui: local

General Errors:
- Setup failed for customizer: Invalid config.

And iā€™m trying to get the badge to change colour to green when its Open.

sensor.window_bathroom_boolean:
      friendly_name: Bathroom
      state_card_mode: badges
      templates:
        theme: if (state === 'Open') return 'green'; else return 'default';

Can someone help

2 Likes

The margin used to be -8px. After HA 0.62 the margin need to be 0.
This was fixed in CustomUI 20180216