-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
code error #316
Comments
The obsolete way to configure the integration was removed. Instead:
The way to set it up correctly is:
Please let me know if this did the trick. |
Think im seeing a bit of the same. Happend after update to HA 2024.11.1. Have tried to change "pin" to "port", but it then gives me an validation error. Error:
Logger: homeassistant.components.cover Error while setting up rpi_gpio platform for cover Config:
|
This is another bug, as a workaround you can add |
The issue @jramsgaard is a real issue and not just obsolete configuration as @Pols88 was facing. |
It worked with the unique_id for the covers. Thanks for the fast response and great work on this project 👍 |
Updated but show the same error: Invalid config for 'switch' from integration 'rpi_gpio' at configuration.yaml, line 33: 'ports' is an invalid option for 'rpi_gpio.switch', check: ports, please check the docs at https://github.com/thecode/ha-rpi_gpio |
You should not have |
Thankyou so much. |
my configuration file has an error: Invalid config for 'switch' from integration 'rpi_gpio' at configuration.yaml, line 33: 'ports' is an invalid option for 'rpi_gpio.switch', check: ports
This is my code:
Raspberry Pi Cooling Fan
sensor:
name: CPU Temperature
command: "cat /sys/class/thermal/thermal_zone0/temp"
unit_of_measurement: "°C"
value_template: '{{ value | multiply(0.001) | round(1) }}'
scan_interval: 10
switch:
ports:
18: RPI Cooling Fan
climate:
name: RPI Cooling Fan Controller
heater: switch.rpi_cooling_fan
target_sensor: sensor.cpu_temperature
min_temp: 55
max_temp: 80
ac_mode: true
target_temp: 55
cold_tolerance: 0.1
hot_tolerance: 0.1
min_cycle_duration:
seconds: 30
keep_alive:
minutes: 5
initial_hvac_mode: "cool"
TY
The text was updated successfully, but these errors were encountered: