Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swing mode - invalid options shown #112

Open
jellewie opened this issue Feb 5, 2024 · 0 comments
Open

Swing mode - invalid options shown #112

jellewie opened this issue Feb 5, 2024 · 0 comments

Comments

@jellewie
Copy link

jellewie commented Feb 5, 2024

I installed the module like shown in here

My Airco does not have a Horizontal swing mode, I did enable vertical_swing_select since I do have that.
The issue now it that it does show options for horizontal swing:
image
When selected:
Off = Off
Both = changes to Vertical (and does so)
Vertical = just changes to Vertical (and does so)
Horizontal = Changes to Off (and does so)

It would be more useful if this setting was instead "vertical_swing_select" / "vertical_swing_mode". Can this be chanes, or is this a setting I can adjust?
image

My EXACT Config:

substitutions:
  device_name: "smart-airco-01"
  project_name: "JelleWho.smart-airco"   #By.ProjectName
  project_version: "0.1"                  #Hardware
  project_comment: "Airco beneden"     #Name in ESPhome tab

esphome:
  name: "${device_name}"
  comment: "${project_comment}"
  project:
    name: "${project_name}"
    version: "${project_version}"
esp32:
  board: esp32dev
  framework:
    type: arduino

#web_server:        #[OPTIONAL] Example configuration entry
#logger:            #[OPTIONAL] Enable logging
api:                #Enable Home Assistant API https://esphome.io/components/api.html
  reboot_timeout: 12h
ota:                #Enable Over The Air updates
  password: !secret ota_password
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  ap:               #Enable fallback hotspot (captive portal) in case wifi connection fails
    ssid: "${device_name} FH"
  reboot_timeout: 12h
captive_portal:

uart:
  tx_pin: GPIO17
  rx_pin: GPIO16
  baud_rate: 9600
  parity: EVEN

external_components:
  source: github://DomiStyle/esphome-panasonic-ac #https://github.com/DomiStyle/esphome-panasonic-ac
  components: [panasonic_ac]

climate:
  - platform: panasonic_ac
    type: cnt # For DNSK-P11 use wlan, For CZ-TACG1 use cnt
    name: "${device_name}"
    #horizontal_swing_select:
    #  name: "${device_name} Swing Mode"
    vertical_swing_select:
      name: "${device_name} Vertical Swing Mode"
    outside_temperature:
      name: "${device_name} Outside Temperature"
    # Enable as needed
    #eco_switch:
    #  name: Panasonic AC Eco Switch
    #econavi_switch:
    #  name: Panasonic AC Econavi Switch
    #nanoex_switch:
    #  name: Panasonic AC NanoeX Switch
    mild_dry_switch:
      name: Panasonic AC Mild Dry Switch
    current_power_consumption:
      name: Panasonic AC Power Consumption

    # Useful when the ac does not report a current temperature (CZ-TACG1 only)
    # current_temperature_sensor: temperature_sensor_id

sensor:
  - platform: uptime  # Extra sensor to keep track of plug uptime
    name: "${device_name} Uptime"
    filters:
      - lambda: return x / 3600;
    unit_of_measurement: "h"
    accuracy_decimals: 0
    disabled_by_default: true
  - platform: wifi_signal # Extra sensor for WiFi signal
    name: "${device_name} WiFi"
    update_interval: 300s
    disabled_by_default: true

#https://esphome.io/components/light/status_led.html
light:
  - platform: status_led
    name: "${device_name} Status LED"
    disabled_by_default: true
    pin: GPIO2

#https://esphome.io/cookbook/pir.html
binary_sensor:
  - platform: status  # Extra sensor for the connection state
    name: "${device_name} status"
    disabled_by_default: true

text_sensor:
  - platform: wifi_info #https://esphome.io/components/text_sensor/index.html
    ip_address:
      name: ESP IP Address
      disabled_by_default: true
    mac_address:
      name: ESP Mac Wifi Address
      disabled_by_default: true

button:
  - platform: restart
    id: restart_button
    name: "${device_name} Restart"
    disabled_by_default: true

time:
  - platform: sntp
    id: my_time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant