jimz011 / homekit-infused

Homekit Infused 5 2023
https://jimz011.github.io/homekit-infused/
Other
868 stars 138 forks source link

Invalid setting Column in Gauge addons #200

Open Deathleaves opened 1 year ago

Deathleaves commented 1 year ago

Is there someone have the same issue that I have found? No matter what the number of the column, the presented column is always 1. For examlpe gauge:

Deathleaves commented 1 year ago

One way to solve it is to answer this question. How to change the layout type and max_cols of the stack of Gauge?

andreastomincssi commented 1 year ago

I have the same issue, is there already a solution for that?

Deathleaves commented 1 year ago

I have the same issue, is there already a solution for that?

Unfortunately no. And I used the custom addon instead, in which the layout can be accurately difined. e.g., custom:

andreastomincssi commented 1 year ago

I have this configuration:

custom:
  - title: hide
    cards:
      - type: horizontal-stack
        cards:
        - type: gauge
          entity: input_number.solarnet_power_photovoltaics_round
          name: Aktuelle Produktion
          unit: W
          min: 1
          max: 8100
          needle: true
          severity:
            green: 4000
            yellow: 2000
            red: 0
      - type: gauge
        entity: input_number.pvcurrentvalueoftheday
        name: Tagesproduktion
        unit: KW
        min: 1
        max: 50
        needle: true
        severity:
          green: 20
          yellow: 10
          red: 0
      - type: gauge
        entity: input_number.sensor_solarnet_power_load_abs
        name: Aktueller Verbrauch
        unit: W
        min: 0
        max: 8000
        needle: true
        severity:
          green: 0
          yellow: 1000
          red: 3000

but still shows in vertical the 3 gauge's... do you have an idea, what's wrong?

in the standard lovelace it is working correct.

Deathleaves commented 1 year ago

As seen from your code, you may need to check the indentations of "type: gauge". It should look like this: image