mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
73_AutoShuttersControl: little Bugfix, add devStateIcon Fn
git-svn-id: https://svn.fhem.de/fhem/trunk@20840 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f9529a41eb
commit
9492eb0d06
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||||
# Do not insert empty lines here, update check depends on it.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- change: 73_AutoShuttersControl: little Bugfix, add devStateIcon Fn
|
||||||
- change: 93_DbLog: avoid FHEM from crash if SVG requests a wrong date/time
|
- change: 93_DbLog: avoid FHEM from crash if SVG requests a wrong date/time
|
||||||
format, Forum: #101005
|
format, Forum: #101005
|
||||||
- feature 14_SD_UT: new model remote control with 4 buttons for dieselheating
|
- feature 14_SD_UT: new model remote control with 4 buttons for dieselheating
|
||||||
|
@ -443,6 +443,12 @@ sub Notify($$) {
|
|||||||
if ( $ascDev->getAutoShuttersControlShading eq 'none' );
|
if ( $ascDev->getAutoShuttersControlShading eq 'none' );
|
||||||
readingsSingleUpdate( $hash, 'ascEnable', 'on', 0 )
|
readingsSingleUpdate( $hash, 'ascEnable', 'on', 0 )
|
||||||
if ( $ascDev->getASCenable eq 'none' );
|
if ( $ascDev->getASCenable eq 'none' );
|
||||||
|
CommandAttr(undef,$name . ' devStateIcon { AutoShuttersControl_DevStateIcon($name) }')
|
||||||
|
unless( AttrVal($name,'devStateIcon','{ AutoShuttersControl_DevStateIcon($name) }') eq '{ AutoShuttersControl_DevStateIcon($name) }' );
|
||||||
|
CommandDeleteAttr(undef,$name . ' event-on-change-reading')
|
||||||
|
unless( AttrVal($name,'event-on-change-reading','none') eq 'none' );
|
||||||
|
CommandDeleteAttr(undef,$name . ' event-on-update-reading')
|
||||||
|
unless( AttrVal($name,'event-on-update-reading','none') eq 'none' );
|
||||||
|
|
||||||
# Ist der Event ein globaler und passt zum Rest der Abfrage oben wird nach neuen Rolläden Devices gescannt und eine Liste im Rolladenmodul sortiert nach Raum generiert
|
# Ist der Event ein globaler und passt zum Rest der Abfrage oben wird nach neuen Rolläden Devices gescannt und eine Liste im Rolladenmodul sortiert nach Raum generiert
|
||||||
ShuttersDeviceScan($hash)
|
ShuttersDeviceScan($hash)
|
||||||
@ -4266,7 +4272,7 @@ sub DevStateIcon($) {
|
|||||||
elsif ( ReadingsVal( $name, 'state', undef ) =~ /.*asleep$/ ) {
|
elsif ( ReadingsVal( $name, 'state', undef ) =~ /.*asleep$/ ) {
|
||||||
return '.*:scene_sleeping';
|
return '.*:scene_sleeping';
|
||||||
}
|
}
|
||||||
elsif ( ReadingsVal( $name, 'state', undef ) =~ /^roommate.(awoken|home)$/ )
|
elsif ( ReadingsVal( $name, 'state', undef ) =~ /^roommate(.come)?.(awoken|home)$/ )
|
||||||
{
|
{
|
||||||
return '.*:user_available';
|
return '.*:user_available';
|
||||||
}
|
}
|
||||||
@ -7897,7 +7903,7 @@ sub getblockAscDrivesAfterManual {
|
|||||||
],
|
],
|
||||||
"release_status": "under develop",
|
"release_status": "under develop",
|
||||||
"license": "GPL_2",
|
"license": "GPL_2",
|
||||||
"version": "v0.8.7",
|
"version": "v0.8.8",
|
||||||
"author": [
|
"author": [
|
||||||
"Marko Oldenburg <leongaultier@gmail.com>"
|
"Marko Oldenburg <leongaultier@gmail.com>"
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user