Hive Integration "Card" Issue

Morning All,

I’ve followed this tutorial for adding my hive to my Home Assistant. It works a treat and I have all the “badges” at the top. What I can’t get to work is pulling through information to a “card” (sorry if this is the wrong term).

I have used the following in my configuration.yaml:

HiveHeating:
  name: "Hive Heating"
  entities:
    - sensor.hive_heating_mode
    - sensor.hive_heating_state
    - sensor.hive_target_temperature
    - sensor.hive_current_temperature
    - sensor.hive_thermostat_batterylevel

However I keep on getting this message upon boot:

Invalid config

The following components and platforms could not be set up:

    HiveHeating

Please check your config.

Edit:

I have played with the names as the code for the badges doesn’t tie up (for example current temperature is shown without a _ in “hive:” and with a _ in HiveHeating). I have tried both permutations under HiveHeating though so don’t think it’s that.:

 hive:
   username: YourHiveUserName
   password: YourHivePassword
   devices:
     - hive_heating
     - hive_hotwater
     - hive_thermostat_batterylevel
     - hive_heating_currenttemperature
     - hive_heating_targettemperature
     - hive_heating_state
     - hive_heating_mode
     - hive_heating_boost
     - hive_hotwater_mode
     - hive_hotwater_state
     - hive_hotwater_boost
     - hive_active_light

Hi @Knottyboy,

If you have followed the tutorial at the top of that link, then this if for the custom_component version with very old file versions.

Now Hive integration is part of the official release of home assistant, so to get setup now, all you need to do is as the username and password to your configuration.yaml with out the need to download and copy any files, and you will have the latest official release.

If you have downloaded all the custom_component files, personally I would recommend deleting them all and then editing your configuration.yaml so only the following is included for Hive:

hive:
  username: YOUR_USERNAME
  password: YOUR_PASSWORD

If you would then like to add all the other sensors that could not be included in the official release, then you can download the new custom_component file and copy to your custom_component/sensor folder the following file:
sensor custom_component

To add each entity to how I think you are trying to add it, really depends on your setup.
Do you have a groups.yaml in your setup?
if not then I think you will need the following in your configuration.yaml file:

group:
  HiveHeating:
     name: Hive Heating
     entities:
     - sensor.hive_hub_status
     - sensor.hub_status
     - sensor.heating_mode
     - sensor.heating_boost
     - sensor.heating_state
     - sensor.hot_water_mode
     - sensor.hot_water_boost
     - sensor.hot_water_state
     - sensor.target_temperature
     - sensor.current_temperature
     - sensor.thermostat_battery_level
     - climate.heating
     - climate.hot_water

I hope this helps, let me know if this is not doing what you had hoped

1 Like

Perfect, thank you for your help.

At the moment I just tested adding “group” (which worked) but when I get back from work I’ll fix it properly as you pointed out above.

Thanks once more.

1 Like

Thanks a lot for this @Knottyboy . I thought i was missing something with the Hive component.

Thanks again

1 Like