Poniżej przykładowy kod dla falowników 3f

|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
type: custom:flex-horseshoe-card view_layout: grid-area: g3 entities: - entity: sensor.deye_sun_12k_grid_power unit: W decimals: 0 name: Grid - entity: sensor.deye_sun_12k_grid_l1_power decimals: 0 unit: W - entity: sensor.deye_sun_12k_grid_l1_voltage decimals: 1 unit: V - entity: sensor.deye_sun_12k_grid_l2_power decimals: 0 unit: W - entity: sensor.deye_sun_12k_grid_l2_voltage decimals: 1 unit: V - entity: sensor.deye_sun_12k_grid_l3_power decimals: 0 unit: W - entity: sensor.deye_sun_12k_grid_l3_voltage decimals: 1 unit: V - entity: sensor.deye_sun_12k_grid_frequency decimals: 2 unit: Hz - entity: sensor.deye_sun_12k_device_state decimals: 2 unit: null name: Device State - entity: sensor.deye_sun_12k_total_energy_export unit: kWh name: Export - entity: sensor.deye_sun_12k_total_energy_import unit: kWh name: Import show: horseshoe_style: autominmax layout: hlines: - id: 0 xpos: 50 ypos: 40 length: 70 styles: - stroke: rgb(59, 60, 62); - id: 1 xpos: 50 ypos: 60 length: 70 styles: - stroke: rgb(59, 60, 62); vlines: - id: 0 xpos: 37 ypos: 50 length: 18 styles: - stroke: rgb(59, 60, 62); - stroke-linecap: square; - id: 1 xpos: 63 ypos: 50 length: 18 styles: - stroke: rgb(59, 60, 62); - stroke-linecap: square; states: - id: 0 entity_index: 0 xpos: 50 ypos: 34 styles: - font-size: 3em; - opacity: 0.9; - id: 1 entity_index: 1 xpos: 34 ypos: 49 styles: - font-size: 1.2em; - text-anchor: end; - id: 2 entity_index: 2 xpos: 34 ypos: 56 styles: - font-size: .9em; - text-anchor: end; - id: 3 entity_index: 3 xpos: 51 ypos: 49 styles: - font-size: 1.2em; - id: 4 entity_index: 4 xpos: 51 ypos: 56 styles: - font-size: .9em; - id: 5 entity_index: 5 xpos: 66 ypos: 49 styles: - font-size: 1.2em; - text-anchor: start; - id: 6 entity_index: 6 xpos: 66 ypos: 56 styles: - font-size: .9em; - text-anchor: start; - id: 7 entity_index: 7 xpos: 50 ypos: 16 styles: - font-size: .8em; - id: 8 entity_index: 8 xpos: 50 ypos: 75 styles: - font-size: 2em; - id: 9 entity_index: 9 xpos: 100 ypos: 5 styles: - text-anchor: end; - font-size: 1.1em; - id: 10 entity_index: 10 xpos: 0 ypos: 5 styles: - text-anchor: start; - font-size: 1.1em; names: - id: 0 entity_index: 0 xpos: 50 ypos: 95 styles: - font-size: 1.2em; - id: 1 entity_index: 8 xpos: 50 ypos: 80 styles: - font-size: 0.5em; - id: 2 entity_index: 9 xpos: 100 ypos: 9 styles: - font-size: 0.5em; - text-anchor: end; - id: 3 entity_index: 10 xpos: 0 ypos: 9 styles: - font-size: 0.5em; - text-anchor: start; horseshoe_scale: min: 0 max: 12000 width: 6 color_stops: "0": "#488fc2" "2000": "#488fc2" card_mod: style: | ha-card { --ha-card-background: var(--card-background-color); color: var(--primary-color); } |
