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

Configuration Yaml Code #71

Open
nofl3dp opened this issue Nov 11, 2022 · 4 comments
Open

Configuration Yaml Code #71

nofl3dp opened this issue Nov 11, 2022 · 4 comments

Comments

@nofl3dp
Copy link

nofl3dp commented Nov 11, 2022

I've been running the original code forever without any problems and apparently, it's now deprecated and wouldn't work. I tried making the changes that have been suggested but it fails at line 1 when trying to restart. I get the green check indicating everything is fine, but it won't load the file. Note* I've typed in all the indents in the code but it's now showing when the text is published. Here's what I have so far:

mqtt:
cover:
- name: "Motorized Blinds"
command_topic: "BlindsMCU/blindsCommand"
set_position_topic: "blindsMCU/positionCommand"
position_topic: "blindsMCU/positionState"
retain: True
payload_open: "OPEN"
payload_close: "CLOSE"
position_open: 0
position_closed: 12
name: "Livingroom Motorized Blinds"
command_topic: "BlindsMCu_LivingRoom/blindsCommand"
set_position_topic: "BlindsMCU_LivingRoom/positionCommand"
position_topic: "BlindsMCU_Livingroom/positionState"
retain: True
payload_open: "OPEN"
payload_close: "CLOSE"
position_open: 0
position_closed: 12
default_config:
-tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

Any help would be appreciated, thank you.

@softtechs1
Copy link

I'm on HA Core 2022.11.1 with no issues. Have you checked your Mqtt server? Also need more info on green checks and files not loading etc. Can you post screenshot of what's going on?

@nofl3dp
Copy link
Author

nofl3dp commented Nov 11, 2022

I'm on 2022.11.1 and just tried upgrading to 2022.11.2 and now I'm getting a 404: Not found error. The green check mark is in the file editor of the HA GUI. If the code is valid it gives you a green check and if it's not then it gives you a red x in the upper right hand corner. Here are a few screen shots that I was able to get.
![configuration yaml](https://user-images.githubusercontent.com/1180
HA banner
13134/201431521-a456b1a8-86ef-4874-8970-dc0f6fd56d6d.jpg)

@nofl3dp
Copy link
Author

nofl3dp commented Nov 11, 2022

configuration yaml

@nofl3dp
Copy link
Author

nofl3dp commented Nov 16, 2022

Anyone have ideas on what needs to be fixed in the config file? The home assistant url still isn't working because of the config file problems. I can edit the file using the cli but not sure what needs to be fixed after they updated the software.

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

2 participants