Skip to content

Conversation

liudger
Copy link
Contributor

@liudger liudger commented Mar 1, 2020

The most basic climate functions work.

Breaking change

Proposed change

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New integration (thank you!)
  • New feature (which adds functionality to an existing integration)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example entry for configuration.yaml:

# Example configuration.yaml

Additional information

Checklist

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • The code has been formatted using Black (black --fast homeassistant tests)
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • The manifest file has all fields filled out correctly.
    Updated and included derived files by running: python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt.
    Updated by running python3 -m script.gen_requirements_all.
  • Untested files have been added to .coveragerc.

The integration reached or maintains the following Integration Quality Scale:

  • No score or internal
  • 🥈 Silver
  • 🥇 Gold
  • 🏆 Platinum

@homeassistant
Copy link
Contributor

Hi @liudger,

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@probot-home-assistant

This comment has been minimized.

@homeassistant
Copy link
Contributor

Hi @liudger,

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@codecov

This comment has been minimized.

@liudger
Copy link
Contributor Author

liudger commented Mar 2, 2020

Hey Frenck, how are you doing?

I am currently working on the documentation. I cloned the docs and now reading the howto.
As you can see I borrowed the base template of elgato keylight (after watching the youtube about creating an integration from scratch). So I hope the code is not too shabby. If you have any recommendations let me know.

regards WJ

ps I saw there was a tage from here_travel_time. That is an incorrect tag.

@liudger
Copy link
Contributor Author

liudger commented Mar 2, 2020

I added the doc in a pull request
home-assistant/home-assistant.io#12241
How do I exclude the bsblan code from coverage? Is there a command or just manually add to the .coverage file?

@liudger liudger changed the title Initial commit for BSBLan Climate component Initial commit for BSBLan Climate integration Mar 3, 2020
@liudger liudger force-pushed the bsblan-component branch from 81b6519 to 704499c Compare March 3, 2020 16:13
@springstan springstan changed the title Initial commit for BSBLan Climate integration Add BSBLan Climate integration Mar 9, 2020
@BudBundi
Copy link

BudBundi commented Apr 2, 2020

Is there any reason, this PR is not merged yet?
The custom component is broken for a long time, so a can't wait to test this new component.

@liudger
Copy link
Contributor Author

liudger commented Apr 5, 2020

I am not sure what the progress is. But it looks like someone needs to review the code. I am already working on the next release and I hope that incremental updates will go faster after the initial release.

@liudger liudger force-pushed the bsblan-component branch 2 times, most recently from 4101d01 to ac3ee44 Compare April 18, 2020 08:57
@MartinHjelmare MartinHjelmare self-assigned this Apr 19, 2020
@liudger liudger force-pushed the bsblan-component branch from ac3ee44 to 82e492b Compare May 1, 2020 21:18
liudger added 3 commits May 6, 2020 22:50
The most basic climate functions work.
wrongly added to commit
current_hvac_mode
@liudger liudger force-pushed the bsblan-component branch from ff953e8 to 8fced7c Compare May 6, 2020 20:57
@liudger liudger requested a review from MartinHjelmare May 6, 2020 20:59
@liudger
Copy link
Contributor Author

liudger commented May 7, 2020

Hi Martin,

I got another question. The bsblan device is the device that is in-between the heatpump/heating System and homeassistant integration. When I want to collect device properties like

manufacturer | The manufacturer of the device.
model | The model of the device.
config_entries | Config entries that are linked to this device.
sw_version | The firmware version of the device.

Should I collect this info from the heating system or should it be the bsblan device info? The bsblan device can control multiple heating systems so the heating system is the entity?
So than I should collect it from bsbland device? but that is quite boring and lot of info is not available for this device. Manufacturer is probably the user himself? So I am a bit confused. Also now the climatedevice is renamed to climate entity. and in the docs we are talking about the device to collect these info from.

Thanks and hopefully we are almost done:)

regards Willem-Jan

@MartinHjelmare
Copy link
Member

MartinHjelmare commented May 7, 2020

We could create a device in the base integration module representing the bsblan device and then have the device_info properties in the entities represent each connected heating system. Bind the devices together with the via_device attribute:

https://developers.home-assistant.io/docs/device_registry_index#device-properties

https://developers.home-assistant.io/docs/device_registry_index#defining-devices

This is done in the configflow
@liudger
Copy link
Contributor Author

liudger commented May 7, 2020

Shall we leave the via_device for the next release? I'll look into it. Overlooked it on my frist pass

Copy link
Member

@MartinHjelmare MartinHjelmare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some small fixes remaining.

liudger and others added 2 commits May 7, 2020 23:20
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Copy link
Member

@MartinHjelmare MartinHjelmare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@cgarwood cgarwood merged commit cf30895 into home-assistant:dev May 10, 2020
@liudger liudger deleted the bsblan-component branch May 13, 2020 19:12
@lock lock bot locked and limited conversation to collaborators May 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants