I think there is a problem in locating the config file in a non standard home assistant installation:
Configartion file “/config/myhome.yaml” is not present!
But:
michele@perlhof ~ ls .homeassistant/myhome.yaml
.homeassistant/myhome.yaml
michele@perlhof ~ ls .homeassistant/configuration.yaml
.homeassistant/configuration.yaml
what is your install method?
pyenv, I modified the file init.py with the location of my my home.yaml file and now it works but it’s not so user friendly I think
No it’s not… I’ll work on adding a config option for the file path.
Maybe a variable like hass.config.path(yamlname) or something like that would be more convenient?
I’ve published a fix that lets you set the configuration file in the device settings.
Since this is in the GUI, there are localized strings, I’ve created them in English and French, now if someone wants to submit an Italian and a Dutch translation for those two phrases, it would be nice
I can help with Italian if you want
Sure
Help yourself
mi vergogno ma non so come farlo tramite github
in any case:
Configuration file path = Percorso del file di configurazione
Configuration file does not exist at this path = Il file di configurazione non è presente nel percorso selezionato / Il file di configurazione non esiste in questo percorso
No worries, I’ve put them in and credited you
Thanks!
In any case, very useful option.
Hi, i tested a gateway with 2 exdended buses and i have some problems when i boot home assistant because the light and switches on these buses doesn’t show the current state. The state is shown when i switch the lights from the phisical switch.
OK, so the status is shown correctly but you cannot control them?
Can you send me debug logs from when you try to control them?
i can help on the dutch translation, but how do you make a change.
You can either create a pull request on github, or do as @bubez81 and send the translations here
Thank you!
I believe there is already a dutch translation
Nice work with v9, thanks!
I can’t see the entities I added in the Switch section
switch:
master_br_socket:
where: '11'
name: Master Bedroom socket
class: outlet
manufacturer: BTicino
socket_anais:
where: '0013'
name: Controlled socket Anais room
class: outlet
manufacturer: BTicino
model: F411/4
I’ve noticed today a bug that prevents entities to be added if the model
is not set in the configuration.
I’ve fixed it this evening, the repo should be up to date if you want to try that.
hi, the boot log is:
2023-02-25 15:03:45.805 DEBUG (MainThread) [custom_components.myhome] Message *#1*11#4#02*1## was successfully queued.
2023-02-25 15:03:45.805 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.campata_nuova_1, old_state=None, new_state=<state light.campata_nuova_1=unknown; supported_color_modes=[<ColorMode.BRIGHTNESS: 'brightness'>], A=1, PL=1, Int=02, friendly_name=Campata Nuova 1, supported_features=LightEntityFeature.TRANSITION @ 2023-02-25T15:03:45.805149+01:00>>
2023-02-25 15:03:45.805 DEBUG (MainThread) [custom_components.myhome] Message *#1*12#4#02*1## was successfully queued.
2023-02-25 15:03:45.805 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.campata_nuova_2, old_state=None, new_state=<state light.campata_nuova_2=unknown; supported_color_modes=[<ColorMode.BRIGHTNESS: 'brightness'>], A=1, PL=2, Int=02, friendly_name=Campata Nuova 2, supported_features=LightEntityFeature.TRANSITION @ 2023-02-25T15:03:45.805474+01:00>>
2023-02-25 15:03:45.805 DEBUG (MainThread) [custom_components.myhome] Message *#1*13#4#02*1## was successfully queued.
2023-02-25 15:03:45.805 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.campata_nuova_3, old_state=None, new_state=<state light.campata_nuova_3=unknown; supported_color_modes=[<ColorMode.BRIGHTNESS: 'brightness'>], A=1, PL=3, Int=02, friendly_name=Campata Nuova 3, supported_features=LightEntityFeature.TRANSITION @ 2023-02-25T15:03:45.805783+01:00>>
I think the own code to get the light status is *#1*11#4#02##
instead of *#1*11#4#02*1##
You configured the lights as dimable, so *#1*11#4#02*1##
is a message to query the current brightness level. It should work fine