Git Product home page Git Product logo

Comments (6)

freol35241 avatar freol35241 commented on September 23, 2024

@eifinger thanks for raising this issue. Can I ask you to be a little more specific?

from ltss.

eifinger avatar eifinger commented on September 23, 2024

Yes the option include_dir_named.
I get the error equired key not provided @ data['ltss']['db_url']

Here is the failing config check in my repo:
https://github.com/eifinger/homeassistant-config/runs/672115430

from ltss.

freol35241 avatar freol35241 commented on September 23, 2024

Ok, I am not using the package syntax myself and really have no idea why this shouldnt work. Your config looks sound to me.

A suggestion is to try to move the regular recorder component into a package and see if that works: https://github.com/eifinger/homeassistant-config/blob/master/configuration.yaml#L67-L72

LTSS has an almost identical config so if the recorder component work as part of a package and LTSS does not, then something is not quite right...

from ltss.

expaso avatar expaso commented on September 23, 2024

I think the regular recorder component is also broken. But there the db_url is optional, so no error will be raised there.
The correct config_shema in my opinion should be:

CONFIG_SCHEMA = vol.Schema(
    {
		DOMAIN: FILTER_SCHEMA.extend(
			{
				vol.Required(CONF_DB_URL): cv.string,
			}
		)
    },
    extra=vol.ALLOW_EXTRA,
)

This works fine and solves the issue above.

from ltss.

freol35241 avatar freol35241 commented on September 23, 2024

@expaso thanks for digging in to this. I tested your suggested schema change in my setup (wo yaml package syntax) and it seems to work fine.

@eifinger do you care to give this (#7) a try to confirm that it solves your problem?

from ltss.

eifinger avatar eifinger commented on September 23, 2024

I can confirm that the PR solves the issue.

from ltss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.