Steven Lewis

Results 22 comments of Steven Lewis

Hi The type would be `measurement` Below is a workaround using a template sensor ``` template: - name: "Argon Fan Speed" unit_of_measurement: "%" state: '{{ states("sensor.argon_one_addon_fan_speed") }}' state_class: measurement icon:...

@harikt I do agree with the naming, I used autoConnect as an example, and can easily be changed, apart from this issue I have not run into any other issues...

@frederikbosch we could approch the issue has you mention, but I see a few issues in your approach. 1. it would make the libaray PHP 8.4 only, I was trying...

It will help with a smooth migration/update path We can release v6.0 and users can implement it before the release of PHP 8.4 This would also allow users to run...

Hi Could we move forward with any ideas for the support for PHP 8.4 as there is now only 10 days to the GA release of PHP 8.4 I dont...

I dont think it is worth changing v5, as the connect() signature is totally different v5 ```php public function connect(): void ``` v6 and pdo in php 8.4 onwards ```php...

@frederikbosch I do aggree they need looking at, I was/am aming for compatability first of all and as we move forward, and the userbase move to newer versions of PHP...

@frederikbosch I have done the update requested, and added a test for the ```connect()``` method and update composer

@frederikbosch @harikt I was thinking of @harikt point of putting a ```establishConnection()``` method into v5, but as a alias of the ```connect()``` like ```php public function establishConnection(): void { $this->connect();...

Hi It looks like it is link to either the following RFC's https://wiki.php.net/rfc/deprecate_null_to_scalar_internal_arg https://wiki.php.net/rfc/deprecate-implicitly-nullable-types ~~I would like to know which version of PHP and OS these deprication it is showing...