panasonic_cc
panasonic_cc copied to clipboard
Unable to call Horizontal Swing
Hello.
I wish to use horizontal swing like you state in your example: Simple Thermostat. Yet your code seems to provide no clue as to how to use this plugin to call upon and track the horizontal swing of a Panasonic AC.
Can you or anyone else give a clue on how to achieve this?
Is there someone who can help with this?
You can use the service call to change the swing mode
service: panasonic_cc.set_horizontal_swing_mode
data:
entity_id: climate.living_room
swing_mode: Mid
Available modes are: Auto, Left, LeftMid, Mid, RightMid, Right
Or you can wait till the next release where I've added select entities
Awesome! I will await the update. Thanks!
@mvanrooijenjr the new v1.1.0 is released with the new swing selectors.
Oy! Thansk for this.
But how do I get this to show up in either the Thermostat card or the Simple Thermostat card? Am I missing something?
I'm not sure those cards supports adding additional control entities. And the climate entity only has one swing mode setting and isn't really extendable.
Ah, I see.
How then do I get everything into one control scheme in a neat way? How do you for instance have your AC controls + the seperate horizontal swing / vertical swing on your dashboard?
I haven't spent much time designing it right now I'm just using a vertical-stack-in-card to merge the cards...
don't know if it helps much, but maybe you can use it as a start
type: custom:vertical-stack-in-card
cards:
- type: custom:simple-thermostat
entity: climate.living_room
header:
name: Living room
mode:
names: true
headings: false
icons: true
control:
hvac: true
preset: true
fan:
Auto:
icon: mdi:fan
name: false
Low:
icon: mdi:numeric-1-circle-outline
name: false
LowMid:
icon: mdi:numeric-2-circle-outline
name: false
Mid:
icon: mdi:numeric-3-circle-outline
name: false
HighMid:
icon: mdi:numeric-4-circle-outline
name: false
High:
icon: mdi:numeric-5-circle-outline
name: false
layout:
mode:
headings: false
- type: entities
entities:
- entity: select.living_room_horizontal_swing_mode
- entity: select.living_room_vertical_swing_mode
- type: horizontal-stack
cards:
- type: custom:button-card
entity: switch.living_room_nanoe
name: Nanoe
- type: custom:button-card
entity: switch.10010b0813
icon: mdi:fan
name: Ceiling fan
- type: custom:button-card
size: 75%
aspect_ratio: 1/1
styles:
card:
- opacity: 0
- type: custom:button-card
size: 75%
aspect_ratio: 1/1
styles:
card:
- opacity: 0
That helps quite a bit, thank you for your example! I have something to tinker with tonight.